public static enum StructuredFormatter.ExceptionOutputType extends Enum<StructuredFormatter.ExceptionOutputType>
| Enum Constant and Description |
|---|
DETAILED
The cause, if present, will be an array of stack trace elements.
|
DETAILED_AND_FORMATTED
|
FORMATTED
The cause, if present, will be a string representation of the stack trace in a
stackTrace property. |
| Modifier and Type | Method and Description |
|---|---|
static StructuredFormatter.ExceptionOutputType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StructuredFormatter.ExceptionOutputType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StructuredFormatter.ExceptionOutputType DETAILED
public static final StructuredFormatter.ExceptionOutputType FORMATTED
stackTrace property.
The property value is a string created by Throwable.printStackTrace().public static final StructuredFormatter.ExceptionOutputType DETAILED_AND_FORMATTED
public static StructuredFormatter.ExceptionOutputType[] values()
for (StructuredFormatter.ExceptionOutputType c : StructuredFormatter.ExceptionOutputType.values()) System.out.println(c);
public static StructuredFormatter.ExceptionOutputType 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 © 2018 JBoss by Red Hat. All rights reserved.