public class RemoteException extends IOException
| 构造器和说明 |
|---|
RemoteException(String className,
String msg) |
| 限定符和类型 | 方法和说明 |
|---|---|
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
|
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.
Throwablepublic static RemoteException valueOf(Attributes attrs)
Copyright © 2009 The Apache Software Foundation