public class EJBException extends RuntimeException
| Constructor and Description |
|---|
EJBException()
Constructs an EJBException with no detail message.
|
EJBException(Exception ex)
Constructs an EJBException that embeds the originally thrown exception.
|
EJBException(String message)
Constructs an EJBException with the specified detailed message.
|
EJBException(String message,
Exception ex)
Constructs an EJBException that embeds the originally thrown exception with the specified detail message.
|
| Modifier and Type | Method and Description |
|---|---|
Exception |
getCausedByException()
Obtain the exception that caused the EJBException to be thrown.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic EJBException()
public EJBException(String message)
message - a String object.public EJBException(Exception ex)
ex - a Exception object.Copyright © 2018, 2020 Eclipse Foundation.
Use is subject to license terms.