| A NotContextException is the exception thrown by the naming
classes when an operation on a context object cannot proceed because the
resolved object is not a context type. If the operation requires a particular
subclass of a context type, such as an LdapContext , and the
resolved object is a context object, but not of the required subclass, then a
NotContextException is thrown.
Multithreaded access to a NotContextException instance is only
safe when client code locks the object first.
|