Class OpenSearchExceptionHandlingInterceptor

  • All Implemented Interfaces:
    org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

    public class OpenSearchExceptionHandlingInterceptor
    extends Object
    implements org.aopalliance.intercept.MethodInterceptor
    Common interceptor for OpenSearch bean to handle detail message of OpenSearchException
    Since:
    8.8.0
    • Constructor Detail

      • OpenSearchExceptionHandlingInterceptor

        public OpenSearchExceptionHandlingInterceptor​(org.springframework.aop.support.NameMatchMethodPointcut nameMatchMethodPointcut)
    • Method Detail

      • invoke

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