Interface ExceptionHandlerAssistant

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object handleRequestException​(java.lang.Throwable exception, java.util.List<java.lang.Object> exceptionContext)
      Handles the exception, returning a page class or link to redirect to.
    • Method Detail

      • handleRequestException

        java.lang.Object handleRequestException​(java.lang.Throwable exception,
                                                java.util.List<java.lang.Object> exceptionContext)
                                         throws java.io.IOException
        Handles the exception, returning a page class or link to redirect to.
        Parameters:
        exception - the exception as thrown
        exceptionContext - a page activation context that is derived from the root-most exception
        Returns:
        either a page class or a Link; a page will be redirected to, with the exception context as the page activation context
        Throws:
        java.io.IOException