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

public Class InvalidAttributesException

extends NamingException
Class Inheritance
Imports
javax.naming.NamingException

This exception is thrown when an attempt is made to add or modify an attribute set that has been specified incompletely or incorrectly. This could happen, for example, when attempting to add or modify a binding, or to create a new subcontext without specifying all the mandatory attributes required for creation of the object. Another situation in which this exception is thrown is by specification of incompatible attributes within the same attribute set, or attributes in conflict with that specified by the object's schema.

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

Constructs a new instance of InvalidAttributesException using an explanation.

public
InvalidAttributesException()

Constructs a new instance of InvalidAttributesException.

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

InvalidAttributesExceptionback to summary
public InvalidAttributesException(String explanation)

Constructs a new instance of InvalidAttributesException 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
InvalidAttributesExceptionback to summary
public InvalidAttributesException()

Constructs a new instance of InvalidAttributesException. All fields are set to null.