Package eu.webtoolkit.jwt
Enum Class Configuration.ErrorReporting
- All Implemented Interfaces:
Serializable
,Comparable<Configuration.ErrorReporting>
,Constable
- Enclosing class:
- Configuration
An enumeration for the level of error reporting in case of client-side (JavaScript) errors.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe application dies with a message to the user indicating an internal error.The application dies with a message and if possible a stack trace of the problem.The application silently dies, and this allows the use of standard debugging capabilities of the browser to diagnose the problem (convenient during development). -
Method Summary
Modifier and TypeMethodDescriptionstatic Configuration.ErrorReporting
Returns the enum constant of this class with the specified name.static Configuration.ErrorReporting[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NoErrors
The application silently dies, and this allows the use of standard debugging capabilities of the browser to diagnose the problem (convenient during development). -
ErrorMessage
The application dies with a message to the user indicating an internal error. This is the default behaviour. -
ErrorMessageWithStack
The application dies with a message and if possible a stack trace of the problem.
-
-
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
-