public
classNoInitialContextException
extends NamingException
Overview
Inheritance
Members
Usage
Source
Books
SinceNot specified.
VersionNot specified.
Author(s)Not specified.
A NoInitialContextException is the exception thrown by the
naming classes when an initial context cannot be created. See the
specification of the Context interface and the
InitialContext class regarding how initial context
implementations are selected.
Any interaction with an InitialContext object may cause a
NoInitialContextException to be thrown. The
InitialContext implementation may choose to defer getting the
initial context until any of its methods are invoked.
Multithreaded access to a NoInitialContextException instance
is only safe when client code locks the object first.
NoInitialContextExceptionis the exception thrown by the naming classes when an initial context cannot be created. See the specification of theContextinterface and theInitialContextclass regarding how initial context implementations are selected.Any interaction with an
InitialContextobject may cause aNoInitialContextExceptionto be thrown. TheInitialContextimplementation may choose to defer getting the initial context until any of its methods are invoked.Multithreaded access to a
NoInitialContextExceptioninstance is only safe when client code locks the object first.