public static enum Advice.ExceptionHandler.Default extends Enum<Advice.ExceptionHandler.Default> implements Advice.ExceptionHandler
Advice.ExceptionHandler.Default, Advice.ExceptionHandler.Simple
Enum Constant and Description |
---|
PRINTING
An exception handler that invokes
Throwable.printStackTrace() . |
SUPPRESSING
An exception handler the suppresses the exception.
|
Modifier and Type | Method and Description |
---|---|
static Advice.ExceptionHandler.Default |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Advice.ExceptionHandler.Default[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
resolve
public static final Advice.ExceptionHandler.Default SUPPRESSING
public static final Advice.ExceptionHandler.Default PRINTING
Throwable.printStackTrace()
.public static Advice.ExceptionHandler.Default[] values()
for (Advice.ExceptionHandler.Default c : Advice.ExceptionHandler.Default.values()) System.out.println(c);
public static Advice.ExceptionHandler.Default 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 © 2014–2019. All rights reserved.