public static enum ErrorDescriptor.Match extends Enum<ErrorDescriptor.Match>
error name
.Enum Constant and Description |
---|
always
This error is added as response to every operation independent of declared exceptions.
|
assignable
As
Class using Class.isAssignableFrom(Class) . |
regex
|
Modifier and Type | Method and Description |
---|---|
static ErrorDescriptor.Match |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorDescriptor.Match[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorDescriptor.Match regex
public static final ErrorDescriptor.Match assignable
Class
using Class.isAssignableFrom(Class)
.public static final ErrorDescriptor.Match always
public static ErrorDescriptor.Match[] values()
for (ErrorDescriptor.Match c : ErrorDescriptor.Match.values()) System.out.println(c);
public static ErrorDescriptor.Match 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 © 2015–2021 MojoHaus. All rights reserved.