All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.lang.Throwable | +----java.lang.Exception | +----javax.ejb.EJBException
The enterprise Bean provider should provide a detailed descriptive message as part of the exception string. The container should log all reported EJBExceptions and make them available to the system administrator.
If a client-invoked method cannot not be completed because an instance has thrown the EJBException, the container must throw the java.rmi.RemoteException, or an exception that is a subclass of java.rmi.RemoteException, to the client.
If the EJBException was thrown by an instance while the instance performed work in the scope of a transaction that was initiated by the container, the container must rollback the transaction before throwing the java.rmi.RemoteException to the client.
If the EJBException was thrown by an instance while the instance performed work in the scope of a transaction that was imported from the client, the container must mark the transaction for rollback and throw the javax.jts.TransactionRollbackedException to the client. The javax.jts.TransactionRollbackedException is a subclass of java.rmi.RemoteException, and it indicates to the client that it would be fruitless to continue work in the scope of the transaction.
public EJBException()
public EJBException(String message)
public EJBException(Exception ex)
public Exception getCausedByException()
All Packages Class Hierarchy This Package Previous Next Index