APIdia Launch Partner
Top Description Fields Constructors Methods
javax.naming.directory

public Class NoSuchAttributeException

extends NamingException
Class Inheritance
Imports
javax.naming.NamingException

This exception is thrown when attempting to access an attribute that does not exist.

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
NoSuchAttributeException(String
Additional detail about this exception. Can be null.
explanation
)

Constructs a new instance of NoSuchAttributeException using an explanation.

public
NoSuchAttributeException()

Constructs a new instance of NoSuchAttributeException.

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

NoSuchAttributeExceptionback to summary
public NoSuchAttributeException(String explanation)

Constructs a new instance of NoSuchAttributeException using an explanation. All other fields are set to null.

Parameters
explanation:String

Additional detail about this exception. Can be null.

See Also
java.lang.Throwable#getMessage
NoSuchAttributeExceptionback to summary
public NoSuchAttributeException()

Constructs a new instance of NoSuchAttributeException. All fields are initialized to null.