|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jms.client.net.XAExceptionAdapter
Adapts unchecked exceptions thrown by the ORB runtime to an
XAException
. This avoids the need for them to be rethrown as a
RemoteInvocationException
.
Constructor Summary | |
XAExceptionAdapter()
|
Method Summary | |
java.lang.Throwable |
adapt(java.lang.Throwable exception)
Adapts an Throwable to a XAException . |
java.lang.Class |
getTarget()
Returns the type of the target exception. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XAExceptionAdapter()
Method Detail |
public java.lang.Class getTarget()
getTarget
in interface org.exolab.jms.net.proxy.ThrowableAdapter
public java.lang.Throwable adapt(java.lang.Throwable exception)
Throwable
to a XAException
.adapt
in interface org.exolab.jms.net.proxy.ThrowableAdapter
exception
- the exception to adapt
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |