All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.naming.directory.InvalidAttributeValueException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.naming.NamingException
                           |
                           +----java.naming.directory.DSException
                                   |
                                   +----java.naming.directory.InvalidAttributeValueException

public class InvalidAttributeValueException
extends DSException
InvalidAttributeValueException is raised 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.


Constructor Index

 o InvalidAttributeValueException()
Constructs a new instance of InvalidAttributeValueException.
 o InvalidAttributeValueException(Name, Object, Name)
Constructs a new instance of InvalidAttributeValueException using the arguments supplied.
 o InvalidAttributeValueException(Name, Object, Name, String)
Constructs a new instance of InvalidAttributeValueException using the arguments supplied.
 o InvalidAttributeValueException(String)
Constructs a new instance of InvalidAttributeValueException using the arguments supplied.

Constructors

 o InvalidAttributeValueException
 public InvalidAttributeValueException(Name resolvedName,
                                       Object resolvedObj,
                                       Name remainingName,
                                       String explanation)
Constructs a new instance of InvalidAttributeValueException using the arguments supplied.

Parameters:
resolvedName - The part of the name that has been successfully resolved.
resolvedObj - The object to which resolution was successful.
remainingName - The remaining unresolved portion of the name.
explanation - Additional detail about this exception.
 o InvalidAttributeValueException
 public InvalidAttributeValueException(Name resolvedName,
                                       Object resolvedObj,
                                       Name remainingName)
Constructs a new instance of InvalidAttributeValueException using the arguments supplied.

Parameters:
resolvedName - The part of the name that has been successfully resolved.
resolvedObj - The object to which resolution was successful.
remainingName - The remaining unresolved portion of the name.
 o InvalidAttributeValueException
 public InvalidAttributeValueException(String explanation)
Constructs a new instance of InvalidAttributeValueException using the arguments supplied.

Parameters:
explanation - Additional detail about this exception.
 o InvalidAttributeValueException
 public InvalidAttributeValueException()
Constructs a new instance of InvalidAttributeValueException.


All Packages  Class Hierarchy  This Package  Previous  Next  Index