org.openejb.core.ivm.naming
Class NamingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.naming.NamingException
              extended by 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

Field Summary
 
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, 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(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 java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream stream)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter writer)
Overrides:
printStackTrace in class java.lang.Throwable


Copyright © 1999-2011 OpenEJB. All Rights Reserved.