Class FilterErrorEvent

All Implemented Interfaces:

public class FilterErrorEvent extends FilterEvent
Event that reports a filter error.
See Also:
  • Constructor Details

    • FilterErrorEvent

      public FilterErrorEvent(Object source, javax.servlet.FilterConfig filterConfig, Throwable error)
      source -
      filterConfig -
  • Method Details

    • getError

      public Throwable getError()
      Returns the top-level error.
    • getRootCause

      public Throwable getRootCause()
      Get the original cause of the error. Use of ServletExceptions by the engine to rethrow errors can cause the original error to be buried within one or more exceptions. This method will sift through the wrapped ServletExceptions to return the original error.