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)
message
- a String
object.public EJBException(java.lang.Exception ex)
ex
- a Exception
object.public EJBException(java.lang.String message, java.lang.Exception ex)
message
- a String
object.ex
- a Exception
object.