Package com.ibm.websphere.servlet.event
Class FilterErrorEvent
java.lang.Object
java.util.EventObject
com.ibm.websphere.servlet.event.FilterEvent
com.ibm.websphere.servlet.event.FilterErrorEvent
- All Implemented Interfaces:
Serializable
Event that reports a filter error.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFilterErrorEvent
(Object source, javax.servlet.FilterConfig filterConfig, Throwable error) -
Method Summary
Modifier and TypeMethodDescriptiongetError()
Returns the top-level error.Get the original cause of the error.Methods inherited from class com.ibm.websphere.servlet.event.FilterEvent
getFilterConfig, getFilterName
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
FilterErrorEvent
- Parameters:
source
-filterConfig
-
-
-
Method Details
-
getError
Returns the top-level error. -
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.
-