public class EJBException
extends java.lang.RuntimeException
Constructor and Description |
---|
EJBException()
Constructs an EJBException with no detail message.
|
EJBException(java.lang.Exception ex)
Constructs an EJBException that embeds the originally thrown exception.
|
EJBException(java.lang.String message)
Constructs an EJBException with the specified
detailed message.
|
EJBException(java.lang.String message,
java.lang.Exception ex)
Constructs an EJBException that embeds the originally thrown exception
with the specified detail message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getCausedByException()
Obtain the exception that caused the EJBException to be thrown.
|
public EJBException()
public EJBException(java.lang.String message)
public EJBException(java.lang.Exception ex)
public EJBException(java.lang.String message, java.lang.Exception ex)