Package org.jboss.logmanager.formatters
Enum StructuredFormatter.ExceptionOutputType
java.lang.Object
java.lang.Enum<StructuredFormatter.ExceptionOutputType>
org.jboss.logmanager.formatters.StructuredFormatter.ExceptionOutputType
- All Implemented Interfaces:
Serializable,Comparable<StructuredFormatter.ExceptionOutputType>
- Enclosing class:
- StructuredFormatter
public static enum StructuredFormatter.ExceptionOutputType
extends Enum<StructuredFormatter.ExceptionOutputType>
Defines the way a cause will be formatted.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe cause, if present, will be an array of stack trace elements.The cause, if present, will be a string representation of the stack trace in astackTraceproperty. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DETAILED
The cause, if present, will be an array of stack trace elements. This will include suppressed exceptions and the cause of the exception. -
FORMATTED
The cause, if present, will be a string representation of the stack trace in astackTraceproperty. The property value is a string created byThrowable.printStackTrace(). -
DETAILED_AND_FORMATTED
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-