public class RemoteException extends IOException
Constructor and Description |
---|
RemoteException(String className,
String msg) |
Modifier and Type | Method and Description |
---|---|
String |
getClassName() |
IOException |
unwrapRemoteException()
Instantiate and return the exception wrapped up by this remote exception.
|
IOException |
unwrapRemoteException(Class<?>... lookupTypes)
If this remote exception wraps up one of the lookupTypes
then return this exception.
|
static RemoteException |
valueOf(Attributes attrs)
Create RemoteException from attributes
|
void |
writeXml(String path,
org.znerd.xmlenc.XMLOutputter doc)
Write the object to XML format
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public String getClassName()
public IOException unwrapRemoteException(Class<?>... lookupTypes)
Unwraps any IOException.
lookupTypes
- the desired exception class.public IOException unwrapRemoteException()
This unwraps any Throwable
that has a constructor taking
a String
as a parameter.
Otherwise it returns this.
Throwable
public void writeXml(String path, org.znerd.xmlenc.XMLOutputter doc) throws IOException
IOException
public static RemoteException valueOf(Attributes attrs)
Copyright © 2010 The Apache Software Foundation