com.ca.jcs.util
Class NamingExceptionWithCause

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.naming.NamingException
              extended by com.ca.jcs.util.NamingExceptionWithCause
All Implemented Interfaces:
Serializable

public class NamingExceptionWithCause
extends NamingException

Extension of naming exception that takes the root cause as an argument in the constructor.

Author:
fittr01
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
 
Constructor Summary
NamingExceptionWithCause(String explanation, Throwable rootCause)
          Constructs a new NamingExceptionWithCause with an explanation and root cause.
 
Method Summary
 
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, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamingExceptionWithCause

public NamingExceptionWithCause(String explanation,
                                Throwable rootCause)
Constructs a new NamingExceptionWithCause with an explanation and root cause.

Parameters:
explanation - A possibly null string containing additional detail about this exception.
rootCause - the root cause of the exception


Created 2011-07-14 13:27 EST