org.openejb.core.ivm.naming
Class NamingException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.naming.NamingException
              extended byorg.openejb.core.ivm.naming.NamingException
All Implemented Interfaces:
Serializable

public class NamingException
extends NamingException

Derivative of javax.naming.NamingException that delegates to org.openejb.OpenEJBException. This allows us to propogate "root cause" information to clients of javax.naming.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
 
Constructor Summary
NamingException(String message, OpenEJBException delegateArg)
           
NamingException(String message, Throwable rootCause)
           
 
Method Summary
 String getMessage()
           
 void printStackTrace()
           
 void printStackTrace(PrintStream stream)
           
 void printStackTrace(PrintWriter writer)
           
 
Methods inherited from class javax.naming.NamingException
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamingException

public NamingException(String message,
                       OpenEJBException delegateArg)

NamingException

public NamingException(String message,
                       Throwable rootCause)
Method Detail

getMessage

public String getMessage()

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(PrintStream stream)

printStackTrace

public void printStackTrace(PrintWriter writer)


Copyright © 1999-2007 OpenEJB. All Rights Reserved.