| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | EJBException(String
a message)java.lang.String object.Constructs an EJBException with the specified detailed message. |
| public | EJBException(Exception
a ex)java.lang.Exception object.Constructs an EJBException that embeds the originally thrown exception. |
| public | EJBException(String
a message, Exception java.lang.String object.a ex)java.lang.Exception object.Constructs an EJBException that embeds the originally thrown exception with the specified detail message. |
| Modifier and Type | Method and Description |
|---|---|
| public Exception | Returns: ajava.lang.Exception object.Obtain the exception that caused the EJBException to be thrown. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| EJBException | back to summary |
|---|---|
| public EJBException() Constructs an EJBException with no detail message. | |
| EJBException | back to summary |
|---|---|
| public EJBException(String message) Constructs an EJBException with the specified detailed message.
| |
| EJBException | back to summary |
|---|---|
| public EJBException(Exception ex) Constructs an EJBException that embeds the originally thrown exception.
| |
| EJBException | back to summary |
|---|---|
| public EJBException(String message, Exception ex) Constructs an EJBException that embeds the originally thrown exception with the specified detail message.
| |
| getCausedByException | back to summary |
|---|---|
| public Exception getCausedByException() Obtain the exception that caused the EJBException to be thrown. It is recommended that the inherited Throwable.getCause() method be used to retrieve the cause instead of this method.
| |