| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.ejb.EJBException
All known Subclasses: javax.ejb.EJBTransactionRolledbackException, javax.ejb.NoSuchEntityException, javax.ejb.AccessLocalException, javax.ejb.ConcurrentAccessException, javax.ejb.EJBAccessException, javax.ejb.NoSuchObjectLocalException, javax.ejb.NoSuchEJBException, javax.ejb.TransactionRequiredLocalException, javax.ejb.EJBTransactionRequiredException, javax.ejb.TransactionRolledbackLocalException,
Constructor Summary | |
public | EJBException() Default constructor : builds an exception with an empty message. | public | EJBException(Exception causedByException) Builds an exception with a given exception. | public | EJBException(String message) Builds an exception with a given message. | public | EJBException(String message, Exception causedByException) Builds an exception with a given message and given exception. |
EJBException | public EJBException()(Code) | | Default constructor : builds an exception with an empty message.
|
EJBException | public EJBException(Exception causedByException)(Code) | | Builds an exception with a given exception.
Parameters: causedByException - the cause of this exception. |
EJBException | public EJBException(String message)(Code) | | Builds an exception with a given message.
Parameters: message - the message of this exception. |
EJBException | public EJBException(String message, Exception causedByException)(Code) | | Builds an exception with a given message and given exception.
Parameters: message - the message of this exception. Parameters: causedByException - the cause of this exception. |
getCausedByException | public Exception getCausedByException()(Code) | | the cause of this exception. |
getMessage | public String getMessage()(Code) | | the message of this exception. |
printStackTrace | public void printStackTrace()(Code) | | Prints the stack trace on the default stream (System.err).
|
printStackTrace | public void printStackTrace(PrintStream printStream)(Code) | | Print the stack trace on the given stream.
Parameters: printStream - the given stream. |
printStackTrace | public void printStackTrace(PrintWriter printWriter)(Code) | | Print the stack trace on the given writer.
Parameters: printWriter - the given writer. |
|
|