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, toString
public EJBException()
public EJBException(String message)
public EJBException(Exception ex)
public Exception getCausedByException()
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.