Package org.apache.tapestry5

# Interface ExceptionHandlerAssistant

All Known Implementing Classes:
  `FormsRequirePostExceptionHandlerAssistant`

public interface ExceptionHandlerAssistant
A contribution to the default `RequestExceptionHandler` service, this is mapped to an exception class, allowing class specific (based on an inheritance search) handling of an exception.

See Also:
  - `ContextAwareException`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `handleRequestException(Throwable exception, List<Object> exceptionContext)`
  Handles the exception, returning a page class or link to redirect to.

- ## Method Details

  - ### handleRequestException

    Object handleRequestException(Throwable exception, List<Object> exceptionContext) throws 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:
      `IOException`