|
||||||||||
| 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()
|
String |
getMessage()
|
void |
printStackTrace()
Prints the stack trace on the default stream (System.err). |
void |
printStackTrace(PrintStream printStream)
Print the stack trace on the given stream. |
void |
printStackTrace(PrintWriter printWriter)
Print the stack trace on the given writer. |
| 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 |
| 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()
public String getMessage()
getMessage in class Throwablepublic void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream printStream)
printStackTrace in class ThrowableprintStream - the given stream.public void printStackTrace(PrintWriter printWriter)
printStackTrace in class ThrowableprintWriter - the given writer.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||