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:
Serializable
Direct Known Subclasses:
AccessLocalException, NoSuchEntityException, NoSuchObjectLocalException, TransactionRequiredLocalException, TransactionRolledbackLocalException

public class EJBException
extends RuntimeException

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $
See Also:
Serialized Form

Constructor Summary
EJBException()
           
EJBException(Exception ex)
           
EJBException(String message)
           
EJBException(String message, Exception ex)
           
 
Method Summary
 Exception getCausedByException()
           
 String getMessage()
           
 void printStackTrace()
           
 void printStackTrace(PrintStream ps)
           
 void printStackTrace(PrintWriter pw)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EJBException

public EJBException()

EJBException

public EJBException(Exception ex)

EJBException

public EJBException(String message)

EJBException

public EJBException(String message,
                    Exception ex)
Method Detail

getCausedByException

public Exception getCausedByException()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

printStackTrace

public void printStackTrace(PrintStream ps)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter pw)
Overrides:
printStackTrace in class Throwable


Copyright © 2006 Apache Software Foundation. All Rights Reserved.