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 with the specified message and the
originally throw exception.
|
Modifier and Type | Method and Description |
---|---|
Exception |
getCausedByException()
Obtain the exception that caused the EJBException being thrown.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public EJBException()
public EJBException(String message)
message
- - The detailed message.public EJBException(Exception ex)
ex
- - The originally thrown exception.public Exception getCausedByException()
Copyright © 2016 JBoss by Red Hat. All rights reserved.