@Vetoed public class ExceptionRecorder<T> extends Object implements MethodInvocation<T>
This class is a part of Exception Handling Feature.
| Constructor and Description |
|---|
ExceptionRecorder(Proxifier proxifier) |
| Modifier and Type | Method and Description |
|---|---|
Object |
intercept(T proxy,
Method method,
Object[] args,
SuperMethod superMethod)
Executes for all method invocations on proxies.
|
void |
replay(Result result) |
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.