Class ErrorPageSupport


  • public class ErrorPageSupport
    extends java.lang.Object
    Provides support for tracking per exception type and per HTTP status code error pages.
    • Constructor Detail

      • ErrorPageSupport

        public ErrorPageSupport()
    • Method Detail

      • add

        public void add​(ErrorPage errorPage)
      • remove

        public void remove​(ErrorPage errorPage)
      • find

        public ErrorPage find​(int statusCode)
      • find

        public ErrorPage find​(java.lang.String exceptionType)
        Find the ErrorPage, if any, for the named exception type.
        Parameters:
        exceptionType - The fully qualified class name of the exception type
        Returns:
        The ErrorPage for the named exception type, or null if none is configured
      • find

        public ErrorPage find​(java.lang.Throwable exceptionType)