java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.naming.NamingException
All Implemented Interfaces:
Serializable
A NamingException instance is not synchronized against concurrent multithreaded access. Multiple threads trying to access and modify a single NamingException instance should lock the object.
This exception has been retrofitted to conform to the general purpose exception-chaining mechanism. The root exception (or root cause) is the same object as the cause returned by the Throwable#getCause() method.
Rosanna
- LeeScott
- Seligman1.3
- Field Summary | ||
---|---|---|
protected Name | resolvedName | Contains the part of the name that has been successfully resolved.
It is a composite name and can be null.
This field is initialized by the constructors.
You should access and manipulate this field
through its get and set methods.
|
protected Object | resolvedObj | Contains the object to which resolution of the part of the name was
successful. Can be null.
This field is initialized by the constructors.
You should access and manipulate this field
through its get and set methods.
|
protected Name | remainingName | Contains the remaining name that has not been resolved yet. It is a composite name and can be null. This field is initialized by the constructors. You should access and manipulate this field through its get, set, "append" methods. |
protected Throwable | rootException | Contains the original exception that caused this NamingException to
be thrown. This field is set if there is additional
information that could be obtained from the original
exception, or if the original exception could not be
mapped to a subclass of NamingException.
Can be null.
This field predates the general-purpose exception chaining facility. The #initCause(Throwable) and #getCause() methods are now the preferred means of accessing this information.
|
Fields inherited from java.lang.Exception: |
---|
serialVersionUID |
Constructor: |
---|
|
|
Method from javax.naming.NamingException Summary: |
---|
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString |
Methods from java.lang.Throwable: |
---|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getStackTraceDepth, getStackTraceElement, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.naming.NamingException Detail: |
---|
|
name is a composite name. If the intent is to append a compound name, you should "stringify" the compound name then invoke the overloaded form that accepts a String parameter.
Subsequent changes to |
null if the cause is nonexistent or
unknown. |
|
|
|
|
This method predates the general-purpose exception chaining facility. The #getCause() method is now the preferred means of obtaining this information. |
This method may be called at most once. |
name is a composite name. If the intent is to set this field using a compound name or string, you must "stringify" the compound name, and create a composite name with a single component using the string. You can then invoke this method using the resulting composite name.
A copy of |
name is a composite name. If the intent is to set this field using a compound name or string, you must "stringify" the compound name, and create a composite name with a single component using the string. You can then invoke this method using the resulting composite name.
A copy of |
|
This method predates the general-purpose exception chaining facility. The #initCause(Throwable) method is now the preferred means of recording this information. |
|
|