Package com.tailf.navu
Enum Class NavuContextBase.UnSetCaseInChoice
- All Implemented Interfaces:
Serializable
,Comparable<NavuContextBase.UnSetCaseInChoice>
,Constable
- Enclosing class:
- NavuContextBase
public static enum NavuContextBase.UnSetCaseInChoice
extends Enum<NavuContextBase.UnSetCaseInChoice>
The enumeration specifies the behavior
when a case in a choice is not selected
explicitly or implicitly.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThreat a unset case as a error throws exception NavuException.Mute all warning messages in the log and no exception will be thrown.Print warn message in the log no exception will be thrown.Print warn message in the log and print the stacktrace as WARN in the the logger. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static NavuContextBase.UnSetCaseInChoice[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
MUTE
Mute all warning messages in the log and no exception will be thrown. -
WARN_LOG
Print warn message in the log no exception will be thrown. -
WARN_LOG_EXCEPTION
Print warn message in the log and print the stacktrace as WARN in the the logger. -
ERROR_EXCEPTION
Threat a unset case as a error throws exception NavuException.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-