Class ErrorPageWriter


  • public final class ErrorPageWriter
    extends Object
    This class provides utility methods to generate the MyFaces error and debug pages.
    Author:
    Jacob Hookom (ICLA with ASF filed), Jakob Korherr (refactored and moved here from jakarta.faces.webapp._ErrorPageWriter)
    • Field Detail

      • ERROR_PAGE_BEAN_KEY

        public static final String ERROR_PAGE_BEAN_KEY
        The key which is used to store the ErrorPageBean in the view map of a facelet error page.
        See Also:
        Constant Field Values
      • DEBUG_INFO_KEY

        public static final String DEBUG_INFO_KEY
        Extended debug info is stored under this key in the request map for every UIInput component when in Development mode. ATTENTION: this constant is duplicate in jakarta.faces.component.UIInput
        See Also:
        Constant Field Values
      • ERROR_HANDLING_PARAMETER

        @JSFWebConfigParam(defaultValue="false, on Development Project stage: true",
                           expectedValues="true,false",
                           since="1.2.4")
        public static final String ERROR_HANDLING_PARAMETER
        Indicate if myfaces is responsible to handle errors. See https://cwiki.apache.org/confluence/display/MYFACES/Handling+Server+Errors for details.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ErrorPageWriter

        public ErrorPageWriter()