public enum ErrorCatcherTarget extends java.lang.Enum<ErrorCatcherTarget>
| Enum Constant and Description |
|---|
CUSTOM
Custom mode, a standard error catcher won't do anything here, but it can be used to configure own error catchers.
|
LOG
Log errors, don't keep in memory.
|
LOGANDMEMORY
Log and keep in memory.
|
MEMORY
Keep errors in memory, don't log.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
keepInMemory() |
boolean |
log() |
static ErrorCatcherTarget |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCatcherTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCatcherTarget LOG
public static final ErrorCatcherTarget MEMORY
public static final ErrorCatcherTarget LOGANDMEMORY
public static final ErrorCatcherTarget CUSTOM
public static ErrorCatcherTarget[] values()
for (ErrorCatcherTarget c : ErrorCatcherTarget.values()) System.out.println(c);
public static ErrorCatcherTarget valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean keepInMemory()
public boolean log()
Copyright © 2010-2020 anotheria.net. All Rights Reserved.