Package org.hippoecm.hst.core.container
Enum PageErrorHandler.Status
- java.lang.Object
-
- java.lang.Enum<PageErrorHandler.Status>
-
- org.hippoecm.hst.core.container.PageErrorHandler.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<PageErrorHandler.Status>
- Enclosing interface:
- PageErrorHandler
public static enum PageErrorHandler.Status extends Enum<PageErrorHandler.Status>
Processing status of page error handler.HANDLED_TO_STOP
: Value to return to stop the processing.NOT_HANDLED
: Value to return to continue the processing, indicating no handling happened.HANDLED_BUT_CONTINUE
: Value to return to continue the processing, indicating some handling happened.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HANDLED_BUT_CONTINUE
HANDLED_TO_STOP
NOT_HANDLED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PageErrorHandler.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static PageErrorHandler.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HANDLED_TO_STOP
public static final PageErrorHandler.Status HANDLED_TO_STOP
-
NOT_HANDLED
public static final PageErrorHandler.Status NOT_HANDLED
-
HANDLED_BUT_CONTINUE
public static final PageErrorHandler.Status HANDLED_BUT_CONTINUE
-
-
Method Detail
-
values
public static PageErrorHandler.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PageErrorHandler.Status c : PageErrorHandler.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PageErrorHandler.Status valueOf(String name)
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
-
-