|
||||||||||
| 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.BaseServerException
public class BaseServerException
This exceptions is used to pass server side BaseErrors and BaseExceptions back to the client as an EJBException - so the container will rollback etc.
| Constructor Summary | |
|---|---|
BaseServerException(BaseError error)
Create an instance wrapping a BaseError |
|
BaseServerException(BaseException exception)
Create an instance wrapping a BaseException |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getCause()
Get the wrapped exception/error that caused this to the thrown. |
BaseError |
getCauseError()
Get the BaseError that caused this BaseServerException to be thrown. |
BaseException |
getCauseException()
Get the BaseException that caused this BaseServerException to be thrown. |
void |
throwCause()
Rethrow the BaseException/BaseError that caused this BaseServerException to be thrown. |
java.lang.String |
toString()
Report the underlying BaseError/BaseException message |
| Methods inherited from class javax.ejb.EJBException |
|---|
getCausedByException |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, 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 BaseServerException(BaseError error)
error - public BaseServerException(BaseException exception)
exception - | Method Detail |
|---|
public java.lang.Throwable getCause()
getCause in class java.lang.Throwable
public void throwCause()
throws BaseException
BaseException - If the cause was a BaseExceptionpublic BaseException getCauseException()
public BaseError getCauseError()
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 | |||||||||