public enum NullExceptionHandler extends Enum<NullExceptionHandler> implements ExceptionHandler, IgnoresEverything
ExceptionHandler that ignores every event.
isEnabled always returns false.
ExceptionHandler| Enum Constant and Description |
|---|
NOTHING
A no-op handler that is always disabled.
|
| Modifier and Type | Method and Description |
|---|---|
static NullExceptionHandler |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NullExceptionHandler[] |
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, valueOfdefaultHandler, ignoresEverything, isEnabled, on, on, on, on, onpublic static final NullExceptionHandler NOTHING
public static NullExceptionHandler[] values()
for (NullExceptionHandler c : NullExceptionHandler.values()) System.out.println(c);
public static NullExceptionHandler 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 © 2026 Chronicle Software Ltd. All rights reserved.