APIdia Launch Partner
Top Description Fields Constructors Methods
javax.naming

public Class NameNotFoundException

extends NamingException
Class Inheritance

This exception is thrown when a component of the name cannot be resolved because it is not bound.

Synchronization and serialization issues that apply to NamingException apply directly here.

Authors
Rosanna Lee, Scott Seligman
Since
1.3

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides javax.naming.NamingException.serialVersionUID.

Use serialVersionUID from JNDI 1.1.1 for interoperability
Inherited from javax.naming.NamingException:
remainingNameresolvedNameresolvedObjrootException

Constructor Summary

AccessConstructor and Description
public
NameNotFoundException(String
Possibly null additional detail about this exception.
explanation
)

Constructs a new instance of NameNotFoundException using the explanation supplied.

public
NameNotFoundException()

Constructs a new instance of NameNotFoundException.

Method Summary

Inherited from javax.naming.NamingException:
appendRemainingComponentappendRemainingNamegetCausegetExplanationgetRemainingNamegetResolvedNamegetResolvedObjgetRootCauseinitCausesetRemainingNamesetResolvedNamesetResolvedObjsetRootCausetoStringtoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.naming.NamingException.serialVersionUID.

Use serialVersionUID from JNDI 1.1.1 for interoperability

Constructor Detail

NameNotFoundExceptionback to summary
public NameNotFoundException(String explanation)

Constructs a new instance of NameNotFoundException using the explanation supplied. All other fields default to null.

Parameters
explanation:String

Possibly null additional detail about this exception.

See Also
java.lang.Throwable#getMessage
NameNotFoundExceptionback to summary
public NameNotFoundException()

Constructs a new instance of NameNotFoundException. All name resolution fields and explanation are initialized to null.