public class ErrorCollector extends Object implements net.sf.cglib.proxy.MethodInterceptor
| Constructor and Description |
|---|
ErrorCollector() |
| Modifier and Type | Method and 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.MethodInterceptorThrowablepublic void addError(Throwable error)
public boolean wasSuccess()
Copyright © 2014–2018 AssertJ. All rights reserved.