git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/branches/common/common-gcore-stubs/1.0@119907 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
5fab9a1b99
commit
22d183263b
|
@ -24,7 +24,7 @@ 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 ");
|
log.error("error invoking method "+method.getName()+" in service "+service.getClass().getCanonicalName()+" using proxy ", proxyEx);
|
||||||
throw new RuntimeException(proxyEx);
|
throw new RuntimeException(proxyEx);
|
||||||
}catch(InvocationTargetException ite){
|
}catch(InvocationTargetException ite){
|
||||||
log.error("exception invoking method "+method.getName()+" in service "+service.getClass().getCanonicalName()+" using proxy ");
|
log.error("exception invoking method "+method.getName()+" in service "+service.getClass().getCanonicalName()+" using proxy ");
|
||||||
|
|
Loading…
Reference in New Issue