SerializableAccessLocalException, ConcurrentAccessException, EJBAccessException, EJBTransactionRequiredException, EJBTransactionRolledbackException, NoMoreTimeoutsException, NoSuchEJBException, NoSuchEntityException, NoSuchObjectLocalException, TransactionRequiredLocalException, TransactionRolledbackLocalExceptionpublic class EJBException extends RuntimeException
| Constructor | 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 | Description |
|---|---|---|
Exception |
getCausedByException() |
Obtain the exception that caused the EJBException to be thrown.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, 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, 2022 Eclipse Foundation.
Use is subject to license terms.