Package org.apache.wicket.settings
Enum ExceptionSettings.AjaxErrorStrategy
java.lang.Object
java.lang.Enum<ExceptionSettings.AjaxErrorStrategy>
org.apache.wicket.settings.ExceptionSettings.AjaxErrorStrategy
- All Implemented Interfaces:
Serializable
,Comparable<ExceptionSettings.AjaxErrorStrategy>
,Constable
- Enclosing class:
- ExceptionSettings
public static enum ExceptionSettings.AjaxErrorStrategy
extends Enum<ExceptionSettings.AjaxErrorStrategy>
How to handle errors while processing an Ajax request
- Author:
- igor
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptioninvoke client side failure handlerredirect to error page, just like a normal requset -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static ExceptionSettings.AjaxErrorStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REDIRECT_TO_ERROR_PAGE
redirect to error page, just like a normal requset -
INVOKE_FAILURE_HANDLER
invoke client side failure handler
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-