|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmandala.jacob.remote.RemoteExceptionInfo
This class contains any usefull informations that may be used to recover from a catched remote exception to a valid state.
Instances of this class are immutable. Each field is
public final.
AbstractRemote| Field Summary | |
java.lang.Object[] |
args
|
TransportException |
exception
|
MethodOp |
method
|
java.lang.Object |
target
|
| Constructor Summary | |
RemoteExceptionInfo(java.lang.Object target,
TransportException exception,
MethodOp method,
java.lang.Object[] args)
Creates a new RemoteExceptionInfo instance. |
|
| Method Summary | |
java.lang.Object[] |
getArgs()
Returns the arguments of the method for which the transport throws an exception. |
MethodOp |
getMethod()
Returns the method for which the transport throws an exception. |
java.lang.Object |
getTarget()
Returns the AbstractRemote sub-class instance which
was the target of the remote method invocation. |
java.lang.Throwable |
getThrowable()
Deprecated. As of Mandala 2.3, replaced by getTransportException() |
TransportException |
getTransportException()
Returns the exception thrown during the transport. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public final java.lang.Object target
public final TransportException exception
public final MethodOp method
public final java.lang.Object[] args
| Constructor Detail |
public RemoteExceptionInfo(java.lang.Object target,
TransportException exception,
MethodOp method,
java.lang.Object[] args)
Creates a new RemoteExceptionInfo instance.
target - the AbstractRemote sub-class instance
which was the target of the remote method invocationexception - the remote exception thrownmethod - the methodargs - the arguments of the method| Method Detail |
public java.lang.Object getTarget()
Returns the AbstractRemote sub-class instance which
was the target of the remote method invocation.
public java.lang.Throwable getThrowable()
getTransportException()
public TransportException getTransportException()
Returns the exception thrown during the transport.
TransportException valuepublic MethodOp getMethod()
Returns the method for which the transport throws an exception.
MethodOp valuepublic java.lang.Object[] getArgs()
Returns the arguments of the method for which the transport throws an exception.
Object[] valuepublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||