InvocationHandler proxyHandler = Proxy.getInvocationHandler(clientProxy);
try {
ret = proxyHandler.invoke(clientProxy, method, args);
} catch (UndeclaredThrowableException ute) {
LOG.log(Level.SEVERE, "PROXY_INVOKE_UNDECLEXCEPTION", method.toString());
ex = new ProtocolException(new Message("PROXY_INVOKE_UNDECLEXCEPTION",
LOG,
method.toString()).toString(),
ute.getCause());
} catch (Error error) {
LOG.log(Level.SEVERE, "PROXY_INVOKE_ERROR", method.toString());
ex = new ProtocolException(new Message("PROXY_INVOKE_UNDECLEXCEPTION",
LOG,
method.toString()).toString(),
error);
} catch (Throwable t) {
LOG.log(Level.WARNING, "PROXY_INVOKE_EXCEPTION", method.toString());