|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException org.apache.hadoop.ipc.RemoteException
public class RemoteException
Constructor Summary | |
---|---|
RemoteException(String className,
String msg)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RemoteException(String className, String msg)
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |