public enum AttributeExceptionCause extends java.lang.Enum<AttributeExceptionCause>
AttributeException to specify the cause of the exception.| Enum Constant and Description |
|---|
ATTRIBUTE_READ_ONLY
The application attempted to modify a read-only attribute.
|
DUPLICATE_ATTRIBUTE
The application specified a duplicate attribute.
|
INCOMPLETE_ATTRIBUTE_MAP
The application specified an incomplete set of attributes.
|
INCONSISTENT_TEMPLATE
The application specified an inconsistent set of attributes.
|
INVALID_ATTRIBUTE
The application specified an invalid attribute.
|
INVALID_ATTRIBUTE_VALUE
The application specified an invalid attribute value.
|
SENSITIVE_ATTRIBUTE
The application attempted to retrieve a sensitive attribute.
|
UNSUPPORTED_ATTRIBUTE
The application specified an attribute which is not supported by this operation.
|
| Modifier and Type | Method and Description |
|---|---|
static AttributeExceptionCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttributeExceptionCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeExceptionCause ATTRIBUTE_READ_ONLY
Resolution: The application may not modify read-only attributes.
public static final AttributeExceptionCause UNSUPPORTED_ATTRIBUTE
Resolution: The application should retry with supported attributes.
public static final AttributeExceptionCause DUPLICATE_ATTRIBUTE
Resolution: The application should retry without duplicate attributes.
public static final AttributeExceptionCause INVALID_ATTRIBUTE
Resolution: The application should retry with valid attributes.
public static final AttributeExceptionCause INVALID_ATTRIBUTE_VALUE
Resolution: The application should retry with a correct attribute value.
public static final AttributeExceptionCause INCONSISTENT_TEMPLATE
Resolution: The application should retry with a correct set of attributes.
public static final AttributeExceptionCause INCOMPLETE_ATTRIBUTE_MAP
Resolution: The application should retry after defining missing attributes.
public static final AttributeExceptionCause SENSITIVE_ATTRIBUTE
Resolution: The application may not retrieve sensitive attributes.
public static AttributeExceptionCause[] values()
for (AttributeExceptionCause c : AttributeExceptionCause.values()) System.out.println(c);
public static AttributeExceptionCause 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