Class RaygunExcludeExceptionFilter
- java.lang.Object
-
- com.mindscapehq.raygun4java.core.handlers.requestfilters.RaygunExcludeExceptionFilter
-
- All Implemented Interfaces:
IRaygunOnBeforeSend,IRaygunSendEventFactory<IRaygunOnBeforeSend>,IRaygunSentEvent
public class RaygunExcludeExceptionFilter extends Object implements IRaygunOnBeforeSend, IRaygunSendEventFactory<IRaygunOnBeforeSend>
Given a set of class names, this filter will drop errors that contain any of the classes to exclude in the exception chain. The intention is to remove exceptions like AccessDeniedException
-
-
Constructor Summary
Constructors Constructor Description RaygunExcludeExceptionFilter(Class<?>... excludeClasses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRaygunOnBeforeSendcreate()RaygunMessageonBeforeSend(RaygunClient client, RaygunMessage message)
-
-
-
Constructor Detail
-
RaygunExcludeExceptionFilter
public RaygunExcludeExceptionFilter(Class<?>... excludeClasses)
-
-
Method Detail
-
onBeforeSend
public RaygunMessage onBeforeSend(RaygunClient client, RaygunMessage message)
- Specified by:
onBeforeSendin interfaceIRaygunOnBeforeSend
-
create
public IRaygunOnBeforeSend create()
- Specified by:
createin interfaceIRaygunSendEventFactory<IRaygunOnBeforeSend>
-
-