Search in sources :

Example 1 with ExceptionHandleAroundInterceptor

use of com.navercorp.pinpoint.bootstrap.interceptor.ExceptionHandleAroundInterceptor in project pinpoint by naver.

the class ASMMethodNodeAdapterAddInterceptorTest method addExceptionInterceptor.

@Ignore
@Test
public void addExceptionInterceptor() throws Exception {
    ExceptionHandleAroundInterceptor interceptor = new ExceptionHandleAroundInterceptor(new ExceptionInterceptor());
    int interceptorId = interceptorRegistryBinder.getInterceptorRegistryAdaptor().addInterceptor(interceptor);
    addInterceptor(interceptorId, ExceptionHandleAroundInterceptor.class);
}
Also used : ExceptionHandleAroundInterceptor(com.navercorp.pinpoint.bootstrap.interceptor.ExceptionHandleAroundInterceptor) ExceptionInterceptor(com.navercorp.pinpoint.profiler.instrument.mock.ExceptionInterceptor) Ignore(org.junit.Ignore) Test(org.junit.Test)

Aggregations

ExceptionHandleAroundInterceptor (com.navercorp.pinpoint.bootstrap.interceptor.ExceptionHandleAroundInterceptor)1 ExceptionInterceptor (com.navercorp.pinpoint.profiler.instrument.mock.ExceptionInterceptor)1 Ignore (org.junit.Ignore)1 Test (org.junit.Test)1