63 |
} |
} |
64 |
|
|
65 |
|
|
66 |
public Object invoke(CircuitInvocation invocation) throws Throwable |
public Object invoke(CircuitInvocation invocation) throws Exception |
67 |
{ |
{ |
68 |
Object result = null; |
Object result = null; |
69 |
try |
try |
72 |
result = invocation.proceed(); |
result = invocation.proceed(); |
73 |
getState().postInvoke(this); |
getState().postInvoke(this); |
74 |
} |
} |
75 |
catch(Throwable t) |
catch(Exception e) |
76 |
{ |
{ |
77 |
getState().onError(this, t); |
getState().onError(this, e); |
78 |
throw t; |
throw e; |
79 |
} |
} |
80 |
return result; |
return result; |
81 |
} |
} |