org.openejb.core.ivm.naming
Class NamingException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.naming.NamingException
                    |
                    +--org.openejb.core.ivm.naming.NamingException
All Implemented Interfaces:
java.io.Serializable

public class NamingException
extends javax.naming.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

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

Constructor Detail

NamingException

public NamingException(java.lang.String message,
                       OpenEJBException delegateArg)

NamingException

public NamingException(java.lang.String message,
                       java.lang.Throwable rootCause)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class javax.naming.NamingException

printStackTrace

public void printStackTrace(java.io.PrintStream stream)
Overrides:
printStackTrace in class javax.naming.NamingException

printStackTrace

public void printStackTrace(java.io.PrintWriter writer)
Overrides:
printStackTrace in class javax.naming.NamingException