javax.ejb
Class EJBException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.ejb.EJBException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EJBAccessException, EJBTransactionRequiredException, EJBTransactionRolledbackException, NoSuchEJBException, NoSuchObjectLocalException

public class EJBException
extends java.lang.RuntimeException

Author:
Florent Benoit
See Also:
EJB 3.0 specification, Serialized Form

Field Summary
private  java.lang.Exception causedByException
           
private static long serialVersionUID
          UID for serialization.
 
Constructor Summary
EJBException()
           
EJBException(java.lang.Exception causedByException)
           
EJBException(java.lang.String message)
           
EJBException(java.lang.String message, java.lang.Exception causedByException)
           
 
Method Summary
 java.lang.Exception getCausedByException()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
UID for serialization.

See Also:
Constant Field Values

causedByException

private java.lang.Exception causedByException
Constructor Detail

EJBException

public EJBException()

EJBException

public EJBException(java.lang.Exception causedByException)

EJBException

public EJBException(java.lang.String message)

EJBException

public EJBException(java.lang.String message,
                    java.lang.Exception causedByException)
Method Detail

getCausedByException

public java.lang.Exception getCausedByException()