- java.lang.Object
-
- java.lang.Enum<FullAjaxExceptionHandler.LogReason>
-
- org.omnifaces.exceptionhandler.FullAjaxExceptionHandler.LogReason
-
- All Implemented Interfaces:
Serializable
,Comparable<FullAjaxExceptionHandler.LogReason>
- Enclosing class:
- FullAjaxExceptionHandler
protected static enum FullAjaxExceptionHandler.LogReason extends Enum<FullAjaxExceptionHandler.LogReason>
- Since:
- 2.4
- Author:
- Bauke Scholtz
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_PAGE_ERROR
Another exception occurred during rendering error page.EXCEPTION_HANDLED
An exception occurred during processing Faces ajax request.RENDER_EXCEPTION_HANDLED
An exception occurred during rendering Faces ajax request.RENDER_EXCEPTION_UNHANDLED
An exception occurred during rendering Faces ajax request.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
Returns the default message associated with the log reason.static FullAjaxExceptionHandler.LogReason
valueOf(String name)
Returns the enum constant of this type with the specified name.static FullAjaxExceptionHandler.LogReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXCEPTION_HANDLED
public static final FullAjaxExceptionHandler.LogReason EXCEPTION_HANDLED
An exception occurred during processing Faces ajax request. Error page will be shown.
-
RENDER_EXCEPTION_HANDLED
public static final FullAjaxExceptionHandler.LogReason RENDER_EXCEPTION_HANDLED
An exception occurred during rendering Faces ajax request. Error page will be shown.
-
RENDER_EXCEPTION_UNHANDLED
public static final FullAjaxExceptionHandler.LogReason RENDER_EXCEPTION_UNHANDLED
An exception occurred during rendering Faces ajax request. Error page CANNOT be shown as response is already committed.
-
ERROR_PAGE_ERROR
public static final FullAjaxExceptionHandler.LogReason ERROR_PAGE_ERROR
Another exception occurred during rendering error page. A hardcoded error page will be shown.
-
-
Method Detail
-
values
public static FullAjaxExceptionHandler.LogReason[] 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 (FullAjaxExceptionHandler.LogReason c : FullAjaxExceptionHandler.LogReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FullAjaxExceptionHandler.LogReason 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
-
getMessage
public String getMessage()
Returns the default message associated with the log reason.- Returns:
- The default message associated with the log reason.
-
-