public static enum BreakChainException.CauseType extends Enum<BreakChainException.CauseType>
Enum Constant and Description |
---|
EXCEPTION
Genuine checked exception, which should be available in the cause of the Exception
|
INCOMPATIBLE_TYPE
The Chain at some point did not agree with the type conversion; the details could be available in the cause or message
|
TERMINATE
A logical cause to terminate the Chain without the need to further process it
|
Modifier and Type | Method and Description |
---|---|
static BreakChainException.CauseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BreakChainException.CauseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BreakChainException.CauseType EXCEPTION
public static final BreakChainException.CauseType INCOMPATIBLE_TYPE
public static final BreakChainException.CauseType TERMINATE
public static BreakChainException.CauseType[] values()
for (BreakChainException.CauseType c : BreakChainException.CauseType.values()) System.out.println(c);
public static BreakChainException.CauseType 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 © 2018. All rights reserved.