git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/branches/common/common-gcore-stubs/1.0@119906 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
4c23f0c489
commit
5fab9a1b99
|
@ -24,10 +24,10 @@ public class MethodRetriever<T> implements InvocationHandler{
|
||||||
try{
|
try{
|
||||||
return method.invoke(service, args);
|
return method.invoke(service, args);
|
||||||
}catch(IllegalAccessException | IllegalArgumentException proxyEx){
|
}catch(IllegalAccessException | IllegalArgumentException proxyEx){
|
||||||
log.error("error invoking method "+method.getName()+" in service "+service.getClass().getCanonicalName()+" using proxy ",proxyEx);
|
log.error("error invoking method "+method.getName()+" in service "+service.getClass().getCanonicalName()+" using proxy ");
|
||||||
throw new RuntimeException(proxyEx);
|
throw new RuntimeException(proxyEx);
|
||||||
}catch(InvocationTargetException ite){
|
}catch(InvocationTargetException ite){
|
||||||
log.error("error invoking method "+method.getName()+" in service "+service.getClass().getCanonicalName()+" using proxy ",ite);
|
log.error("exception invoking method "+method.getName()+" in service "+service.getClass().getCanonicalName()+" using proxy ");
|
||||||
throw ite.getCause();
|
throw ite.getCause();
|
||||||
}finally{
|
}finally{
|
||||||
CalledMethodProvider.instance.reset();
|
CalledMethodProvider.instance.reset();
|
||||||
|
|
Loading…
Reference in New Issue