org.apache.tapestry5.upload.internal.services

## Class UploadExceptionFilter

- java.lang.Object
- - org.apache.tapestry5.upload.internal.services.UploadExceptionFilter

- All Implemented Interfaces:
    ComponentEventRequestFilter

      @Events(value="uploadException when a exception occur processing the upload")
      public class UploadExceptionFilter
      extends Object
      implements ComponentEventRequestFilter

  Determines if there was an `FileUploadException` processing the request and, if so, triggers an exception event on the page. If the page fails to respond to the event, then

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UploadExceptionFilter(MultipartDecoder decoder, ComponentEventResultProcessor resultProcessor, ComponentSource componentSource)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `handle(ComponentEventRequestParameters parameters, ComponentEventRequestHandler handler)` Filter for a component action request.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### UploadExceptionFilter

          public UploadExceptionFilter(MultipartDecoder decoder,
                                       @Traditional @Primary
                                       ComponentEventResultProcessor resultProcessor,
                                       ComponentSource componentSource)

  - ### Method Detail

    - #### handle

          public void handle(ComponentEventRequestParameters parameters,
                             ComponentEventRequestHandler handler)
                      throws IOException

      Description copied from interface: `ComponentEventRequestFilter`
      Filter for a component action request.
      Specified by:
        `handle` in interface `ComponentEventRequestFilter`
      Parameters:
        `parameters` - defining details of the request
        `handler` - to delegate to
      Throws:
        `IOException`

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.