|
||||||||||
| 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
public class EJBException
Thrown for unexpected exception.
| Constructor Summary | |
|---|---|
EJBException()
Default constructor : builds an exception with an empty message. |
|
EJBException(Exception causedByException)
Builds an exception with a given exception. |
|
EJBException(String message)
Builds an exception with a given message. |
|
EJBException(String message,
Exception causedByException)
Builds an exception with a given message and given exception. |
|
| Method Summary | |
|---|---|
Exception |
getCausedByException()
|
| 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 EJBException()
public EJBException(Exception causedByException)
causedByException - the cause of this exception.public EJBException(String message)
message - the message of this exception.
public EJBException(String message,
Exception causedByException)
message - the message of this exception.causedByException - the cause of this exception.| Method Detail |
|---|
public Exception getCausedByException()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||