public enum AddAttributeExceptionCause extends java.lang.Enum<AddAttributeExceptionCause>
AddAttributeException to specify the cause of the exception.| Enum Constant and Description |
|---|
ATTRIBUTE_READ_ONLY
The supplied attribute is read-only.
|
DUPLICATE_ATTRIBUTE
Duplicate attribute provided.
|
INCOMPLETE_ATTRIBUTE_MAP
The application has specified an incomplete set of attributes for this key type or operation.
|
INVALID_ATTRIBUTE_VALUE
An attribute value is invalid.
|
UNSUPPORTED_ATTRIBUTE
The supplied attribute is not supported.
|
| Modifier and Type | Method and Description |
|---|---|
static AddAttributeExceptionCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AddAttributeExceptionCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddAttributeExceptionCause ATTRIBUTE_READ_ONLY
Resolution: The application may not modify this attribute.
public static final AddAttributeExceptionCause UNSUPPORTED_ATTRIBUTE
Resolution: The application may not modify this attribute.
public static final AddAttributeExceptionCause DUPLICATE_ATTRIBUTE
Resolution: The application should supply only one value for an attribute.
public static final AddAttributeExceptionCause INVALID_ATTRIBUTE_VALUE
Resolution: The application should supply a valid attribute value.
public static final AddAttributeExceptionCause INCOMPLETE_ATTRIBUTE_MAP
Resolution: The application must provide the missing attribute.
public static AddAttributeExceptionCause[] values()
for (AddAttributeExceptionCause c : AddAttributeExceptionCause.values()) System.out.println(c);
public static AddAttributeExceptionCause valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null