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

public Class InvalidAttributeValueException

extends NamingException
Class Inheritance
Imports
javax.naming.NamingException

This class is thrown when an attempt is made to add to an attribute a value that conflicts with the attribute's schema definition. This could happen, for example, if attempting to add an attribute with no value when the attribute is required to have at least one value, or if attempting to add more than one value to a single valued-attribute, or if attempting to add a value that conflicts with the syntax of the attribute.

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

Constructs a new instance of InvalidAttributeValueException using an explanation.

public
InvalidAttributeValueException()

Constructs a new instance of InvalidAttributeValueException.

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

InvalidAttributeValueExceptionback to summary
public InvalidAttributeValueException(String explanation)

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

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