net.sf.cglib.proxy.Callback
, net.sf.cglib.proxy.MethodInterceptor
public class ErrorCollector extends Object implements net.sf.cglib.proxy.MethodInterceptor
Constructor | Description |
---|---|
ErrorCollector() |
Modifier and Type | Method | Description |
---|---|---|
void |
addError(Throwable error) |
|
List<Throwable> |
errors() |
|
Object |
intercept(Object obj,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy proxy) |
|
boolean |
wasSuccess() |
public Object intercept(Object obj, Method method, Object[] args, net.sf.cglib.proxy.MethodProxy proxy) throws Throwable
intercept
in interface net.sf.cglib.proxy.MethodInterceptor
Throwable
public void addError(Throwable error)
public boolean wasSuccess()
Copyright © 2014–2019. All rights reserved.