|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.rmi.exception.NamingExceptionHelper
This class throw NamingException by using provided exception, and set the initCause of the newly created exception. This avoid to forget initial exception
Method Summary | |
static javax.naming.NamingException |
create(java.lang.String message,
java.lang.Exception originalException)
Build a new exception with the given exception by wrapping it in a NamingException |
static javax.naming.NamingException |
create(java.lang.String message,
java.lang.Throwable t)
Build a new exception with the given error by wrapping it in a NamingException |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static javax.naming.NamingException create(java.lang.String message, java.lang.Exception originalException)
message
- text error for the exceptionoriginalException
- original exception
public static javax.naming.NamingException create(java.lang.String message, java.lang.Throwable t)
message
- text error for the exceptiont
- original error
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |