|
||||||||||
| 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.ail.core.configure.EJBConfigurationException
public class EJBConfigurationException
This exception is throw by the EJBLoader in reponse to any problems that it encounters. Its purpose is simply to wrap the exception/error such that it cause roll backs, and give the client side code access to the actual exception/error.
| Constructor Summary | |
|---|---|
EJBConfigurationException(BaseError e)
Constructor to create an EJBConfigurationException to wrap a BaseError. |
|
EJBConfigurationException(BaseException e)
Consstructor to create an EJBConfigurationException to wrap a BaseException. |
|
EJBConfigurationException(java.lang.String message,
java.lang.Throwable cause)
Constructor. |
|
| Method Summary | |
|---|---|
BaseError |
getBaseErrorCause()
Return the cause if it was a BaseError, otherwise return null. |
BaseException |
getBaseExceptionCause()
Return the cause if it was a BaseException, otherwise return null. |
java.lang.Throwable |
getServerSideCause()
Get the exception/error that cause the problem. |
java.lang.String |
toString()
|
| Methods inherited from class javax.ejb.EJBException |
|---|
getCausedByException |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EJBConfigurationException(BaseError e)
e - BaseErrorpublic EJBConfigurationException(BaseException e)
e - BaseException
public EJBConfigurationException(java.lang.String message,
java.lang.Throwable cause)
message - Messagecause - causing exception| Method Detail |
|---|
public java.lang.Throwable getServerSideCause()
public BaseError getBaseErrorCause()
public BaseException getBaseExceptionCause()
public 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 | |||||||||