Module org.omnifaces
Package org.omnifaces.exceptionhandler
Enum Class FullAjaxExceptionHandler.LogReason
java.lang.Object
java.lang.Enum<FullAjaxExceptionHandler.LogReason>
org.omnifaces.exceptionhandler.FullAjaxExceptionHandler.LogReason
- All Implemented Interfaces:
Serializable,Comparable<FullAjaxExceptionHandler.LogReason>,Constable
- Enclosing class:
- FullAjaxExceptionHandler
protected static enum FullAjaxExceptionHandler.LogReason
extends Enum<FullAjaxExceptionHandler.LogReason>
- Since:
- 2.4
- Author:
- Bauke Scholtz
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAnother exception occurred during rendering error page.An exception occurred during processing Faces ajax request.An exception occurred during rendering Faces ajax request.An exception occurred during rendering Faces ajax request. -
Method Summary
Modifier and TypeMethodDescriptionReturns the default message associated with the log reason.Returns the enum constant of this class with the specified name.static FullAjaxExceptionHandler.LogReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXCEPTION_HANDLED
An exception occurred during processing Faces ajax request. Error page will be shown. -
RENDER_EXCEPTION_HANDLED
An exception occurred during rendering Faces ajax request. Error page will be shown. -
RENDER_EXCEPTION_UNHANDLED
An exception occurred during rendering Faces ajax request. Error page CANNOT be shown as response is already committed. -
ERROR_PAGE_ERROR
Another exception occurred during rendering error page. A hardcoded error page will be shown.
-
-
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
-
getMessage
Returns the default message associated with the log reason.- Returns:
- The default message associated with the log reason.
-