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