|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.ejb.RemoveException
com.caucho.ejb.RemoveExceptionWrapper
public class RemoveExceptionWrapper
Wraps the actual exception with an EJB exception
| Constructor Summary | |
|---|---|
RemoveExceptionWrapper()
Null constructors for Serializable |
|
RemoveExceptionWrapper(java.lang.String msg)
Remove a basic RemoveExceptionWrapper with a message. |
|
RemoveExceptionWrapper(java.lang.Throwable rootCause)
Remove a RemoveExceptionWrapper wrapping a root exception. |
|
| Method Summary | |
|---|---|
static RemoveException |
create(java.lang.Throwable rootCause)
Wraps and exception with a remove exception wrapper. |
java.lang.String |
getMessage()
Returns the appropriate exception message. |
java.lang.Throwable |
getRootCause()
Returns the root exception if it exists. |
java.lang.String |
toString()
Print the exception as a string. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RemoveExceptionWrapper()
public RemoveExceptionWrapper(java.lang.String msg)
msg - the exception message.public RemoveExceptionWrapper(java.lang.Throwable rootCause)
rootCause - the underlying wrapped exception.| Method Detail |
|---|
public static RemoveException create(java.lang.Throwable rootCause)
public java.lang.Throwable getRootCause()
getRootCause in interface ExceptionWrapperpublic java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||