public static enum ErrorProperties.IncludeStacktrace extends Enum<ErrorProperties.IncludeStacktrace>
Enum Constant and Description |
---|
ALWAYS
Always add stacktrace information.
|
NEVER
Never add stacktrace information.
|
ON_TRACE_PARAM
Add stacktrace information when the "trace" request parameter is "true".
|
Modifier and Type | Method and Description |
---|---|
static ErrorProperties.IncludeStacktrace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorProperties.IncludeStacktrace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorProperties.IncludeStacktrace NEVER
public static final ErrorProperties.IncludeStacktrace ALWAYS
public static final ErrorProperties.IncludeStacktrace ON_TRACE_PARAM
public static ErrorProperties.IncludeStacktrace[] values()
for (ErrorProperties.IncludeStacktrace c : ErrorProperties.IncludeStacktrace.values()) System.out.println(c);
public static ErrorProperties.IncludeStacktrace valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Pivotal Software, Inc.. All rights reserved.