public enum ExceptionVerbosity extends Enum<ExceptionVerbosity>
| Enum Constant and Description |
|---|
ALL
Log all exceptions.
|
NONE
Do not log any exceptions.
|
UNHANDLED
Log exceptions which are not handled by any
ExceptionHandler specified by a user. |
| Modifier and Type | Method and Description |
|---|---|
static ExceptionVerbosity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExceptionVerbosity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExceptionVerbosity ALL
public static final ExceptionVerbosity UNHANDLED
ExceptionHandler specified by a user.
However, the following exceptions would not be logged because they are from the well-known cause.
public static final ExceptionVerbosity NONE
public static ExceptionVerbosity[] values()
for (ExceptionVerbosity c : ExceptionVerbosity.values()) System.out.println(c);
public static ExceptionVerbosity 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 LeanCloud. All rights reserved.