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