|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.ejb.EJBException
com.finalist.util.genelv.exceptions.WrappedEJBException
This exception is thrown for all problems that occur in the EJB Container code of the application. This class defines a few typical error types to help the developer find the error cause.
Field Summary | |
static java.lang.String |
EJB_CREATE
|
static java.lang.String |
EJB_FINDER
|
static java.lang.String |
EJB_JNDI
|
static java.lang.String |
JDBC
|
static java.lang.String |
REMOTE
|
static java.lang.String |
UNSPECIFIED
|
Constructor Summary | |
WrappedEJBException(java.lang.String message)
Creates new WrappedEJBException |
|
WrappedEJBException(java.lang.Throwable e)
Creates new WrappedEJBException |
Method Summary | |
java.lang.String |
getErrorCode()
Get the ApplicationResource (action) error key indicating the cause of the (wrapped EJB) exception. |
java.lang.String |
getWrappedStackTrace()
Return a string version of the stack trace if the wrapped ejb exception is not null, a static message string indicating the absence of a stacktrace. |
void |
setErrorCode(java.lang.String errorCode)
Set the ApplicationResource (action) error key indicating the cause of the (wrapped EJB) exception. |
Methods inherited from class javax.ejb.EJBException |
getCausedByException, getMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String EJB_FINDER
public static final java.lang.String UNSPECIFIED
public static final java.lang.String EJB_JNDI
public static final java.lang.String JDBC
public static final java.lang.String EJB_CREATE
public static final java.lang.String REMOTE
Constructor Detail |
public WrappedEJBException(java.lang.String message)
message
- Information of real exceptionpublic WrappedEJBException(java.lang.Throwable e)
e
- Exception to wrapMethod Detail |
public java.lang.String getErrorCode()
public void setErrorCode(java.lang.String errorCode)
public java.lang.String getWrappedStackTrace()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |