public enum FailureType extends Enum<FailureType> implements Serializable
| Enum Constant and Description |
|---|
ASSERTION
A failure that is expected.
|
ERROR
A failure that is not expected and produced an error.
|
| Modifier and Type | Method and Description |
|---|---|
static FailureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FailureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailureType ERROR
public static final FailureType ASSERTION
public static FailureType[] values()
for (FailureType c : FailureType.values()) System.out.println(c);
public static FailureType 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 © 2003-2017 GateIn. All Rights Reserved.