|
||||||||||
| 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.FinderException
com.caucho.ejb.FinderExceptionWrapper
public class FinderExceptionWrapper
Wraps the actual exception with an EJB exception
| Constructor Summary | |
|---|---|
FinderExceptionWrapper()
Null constructors for Serializable |
|
FinderExceptionWrapper(java.lang.String msg)
Finder a basic FinderExceptionWrapper with a message. |
|
FinderExceptionWrapper(java.lang.Throwable rootCause)
Finder a FinderExceptionWrapper wrapping a root exception. |
|
| Method Summary | |
|---|---|
static FinderException |
create(java.lang.Throwable rootCause)
Wraps and exception with a finder exception wrapper. |
java.lang.Throwable |
getRootCause()
Returns the root exception if it exists. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FinderExceptionWrapper()
public FinderExceptionWrapper(java.lang.String msg)
msg - the exception message.public FinderExceptionWrapper(java.lang.Throwable rootCause)
rootCause - the underlying wrapped exception.| Method Detail |
|---|
public static FinderException create(java.lang.Throwable rootCause)
public java.lang.Throwable getRootCause()
getRootCause in interface ExceptionWrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||