|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThrowableAdapter
Adapts unchecked exceptions, so that they can be rethrown as checked
exceptions. By default, the ORB rethrows unchecked exceptions as RemoteInvocationException
.
Method Summary | |
---|---|
java.lang.Throwable |
adapt(java.lang.Throwable exception)
Adapts an Throwable to the target exception type. |
java.lang.Class |
getTarget()
Returns the type of the target exception. |
Method Detail |
---|
java.lang.Class getTarget()
java.lang.Throwable adapt(java.lang.Throwable exception)
Throwable
to the target exception type.
exception
- the exception to adapt
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |