public class ExceptionRecorder<T> extends Object implements MethodInvocation<T>
This class is a part of Exception Handling Feature.
ExceptionRecorderParameter,
ExceptionMapper,
DefaultExceptionMapper,
ExceptionHandlerInterceptor| Constructor and Description |
|---|
ExceptionRecorder(Proxifier proxifier) |
public ExceptionRecorder(Proxifier proxifier)
public Object intercept(T proxy, Method method, Object[] args, SuperMethod superMethod)
MethodInvocationintercept in interface MethodInvocation<T>proxy - that received the method call.method - called.args - given to the method call.superMethod - allowing calls to the overriden original method. A super method call only makes sense for
concrete class proxies.public void replay(Result result)
Copyright © 2014 Caelum. All Rights Reserved.