|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.ipc.RemoteException
public class RemoteException
Constructor Summary | |
---|---|
RemoteException(java.lang.String className,
java.lang.String msg)
|
Method Summary | |
---|---|
java.lang.String |
getClassName()
|
java.io.IOException |
unwrapRemoteException()
Instantiate and return the exception wrapped up by this remote exception. |
java.io.IOException |
unwrapRemoteException(java.lang.Class<?>... lookupTypes)
If this remote exception wraps up one of the lookupTypes then return this exception. |
static RemoteException |
valueOf(org.xml.sax.Attributes attrs)
Create RemoteException from attributes |
void |
writeXml(java.lang.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(java.lang.String className, java.lang.String msg)
Method Detail |
---|
public java.lang.String getClassName()
public java.io.IOException unwrapRemoteException(java.lang.Class<?>... lookupTypes)
Unwraps any IOException.
lookupTypes
- the desired exception class.
public java.io.IOException unwrapRemoteException()
This unwraps any Throwable
that has a constructor taking
a String
as a parameter.
Otherwise it returns this.
Throwable
public void writeXml(java.lang.String path, org.znerd.xmlenc.XMLOutputter doc) throws java.io.IOException
java.io.IOException
public static RemoteException valueOf(org.xml.sax.Attributes attrs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |