public static enum ExceptionLogger.NoOp extends Enum<ExceptionLogger.NoOp> implements ExceptionLogger
ExceptionLoggers.ExceptionLogger.NoOp| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
log(Throwable exception)
Does nothing special!
|
static ExceptionLogger.NoOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExceptionLogger.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExceptionLogger.NoOp INSTANCE
public static ExceptionLogger.NoOp[] values()
for (ExceptionLogger.NoOp c : ExceptionLogger.NoOp.values()) System.out.println(c);
public static ExceptionLogger.NoOp 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 nullpublic void log(Throwable exception)
log in interface ExceptionLoggerexception - The exception to log.Copyright © 2019. All rights reserved.