Enum StacktraceFormat
- java.lang.Object
-
- java.lang.Enum<StacktraceFormat>
-
- com._1c.g5.v8.dt.stacktraces.model.StacktraceFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<StacktraceFormat>
public enum StacktraceFormat extends Enum<StacktraceFormat>
Stacktrace formats.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_STACK_TRACE
Stacktrace with error description headerSTACK_TRACE
Plane stacktraceTHREAD
Thread dump
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StacktraceFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static StacktraceFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
THREAD
public static final StacktraceFormat THREAD
Thread dump
-
ERROR_STACK_TRACE
public static final StacktraceFormat ERROR_STACK_TRACE
Stacktrace with error description header
-
STACK_TRACE
public static final StacktraceFormat STACK_TRACE
Plane stacktrace
-
-
Method Detail
-
values
public static StacktraceFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StacktraceFormat c : StacktraceFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StacktraceFormat valueOf(String name)
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
-
-