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)
public EJBException(Exception ex)
public Exception getCausedByException()
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.