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
  • Enum Constant Details

    • 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 Details

    • values

      public static FullAjaxExceptionHandler.LogReason[] 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

      public static FullAjaxExceptionHandler.LogReason valueOf(String name)
      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 name
      NullPointerException - 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.