public static enum ErrorAttributeOptions.Include extends java.lang.Enum<ErrorAttributeOptions.Include>
Enum Constant and Description |
---|
BINDING_ERRORS
Include the binding errors attribute.
|
EXCEPTION
Include the exception class name attribute.
|
MESSAGE
Include the message attribute.
|
STACK_TRACE
Include the stack trace attribute.
|
Modifier and Type | Method and Description |
---|---|
static ErrorAttributeOptions.Include |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorAttributeOptions.Include[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorAttributeOptions.Include EXCEPTION
public static final ErrorAttributeOptions.Include STACK_TRACE
public static final ErrorAttributeOptions.Include MESSAGE
public static final ErrorAttributeOptions.Include BINDING_ERRORS
public static ErrorAttributeOptions.Include[] values()
for (ErrorAttributeOptions.Include c : ErrorAttributeOptions.Include.values()) System.out.println(c);
public static ErrorAttributeOptions.Include 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