Class RaygunStripWrappedExceptionFilter
- java.lang.Object
-
- com.mindscapehq.raygun4java.core.handlers.requestfilters.RaygunStripWrappedExceptionFilter
-
- All Implemented Interfaces:
IRaygunOnBeforeSend,IRaygunSendEventFactory<IRaygunOnBeforeSend>,IRaygunSentEvent
public class RaygunStripWrappedExceptionFilter extends Object implements IRaygunOnBeforeSend, IRaygunSendEventFactory<IRaygunOnBeforeSend>
Given a set of class names, this filter will remove matching exceptions from the exception chain. The intention is to remove generic "wrapping" exceptions like ServletException
-
-
Constructor Summary
Constructors Constructor Description RaygunStripWrappedExceptionFilter(Class<?>... stripClasses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRaygunOnBeforeSendcreate()RaygunMessageonBeforeSend(RaygunClient client, RaygunMessage message)
-
-
-
Constructor Detail
-
RaygunStripWrappedExceptionFilter
public RaygunStripWrappedExceptionFilter(Class<?>... stripClasses)
-
-
Method Detail
-
onBeforeSend
public RaygunMessage onBeforeSend(RaygunClient client, RaygunMessage message)
- Specified by:
onBeforeSendin interfaceIRaygunOnBeforeSend
-
create
public IRaygunOnBeforeSend create()
- Specified by:
createin interfaceIRaygunSendEventFactory<IRaygunOnBeforeSend>
-
-