Class SentryCaptureExceptionParameterAdvice

java.lang.Object
io.sentry.spring.exception.SentryCaptureExceptionParameterAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

@Internal public class SentryCaptureExceptionParameterAdvice extends Object implements org.aopalliance.intercept.MethodInterceptor
Captures an exception passed to a bean method annotated with SentryCaptureExceptionParameter.
  • Constructor Details

    • SentryCaptureExceptionParameterAdvice

      public SentryCaptureExceptionParameterAdvice(@NotNull @NotNull io.sentry.IHub hub)
  • Method Details

    • invoke

      public Object invoke(@NotNull @NotNull org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
      Specified by:
      invoke in interface org.aopalliance.intercept.MethodInterceptor
      Throws:
      Throwable