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

public Class AttributeInUseException

extends NamingException
Class Inheritance
Imports
javax.naming.NamingException

This exception is thrown when an operation attempts to add an attribute that already exists.

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

Authors
Rosanna Lee, Scott Seligman
Since
1.3
See Also
DirContext#modifyAttributes

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
AttributeInUseException(String
Possibly null additional detail about this exception.
explanation
)

Constructs a new instance of AttributeInUseException with an explanation.

public
AttributeInUseException()

Constructs a new instance of AttributeInUseException.

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

AttributeInUseExceptionback to summary
public AttributeInUseException(String explanation)

Constructs a new instance of AttributeInUseException with an explanation. All other fields are set to null.

Parameters
explanation:String

Possibly null additional detail about this exception.

See Also
java.lang.Throwable#getMessage
AttributeInUseExceptionback to summary
public AttributeInUseException()

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