@Override protected Object handleInvocation(Object proxy, Method method, Object[] args) throws Throwable { checkThread(method); try { return method.invoke(delegate, args); } catch (InvocationTargetException e) { throw e.getCause(); } catch (IllegalAccessException e) { throw Throwables.propagate(e); } }
@Override protected Object handleInvocation(Object proxy, Method method, Object[] args) throws Throwable { checkThread(method); try { return method.invoke(delegate, args); } catch (InvocationTargetException e) { throw e.getCause(); } catch (IllegalAccessException e) { throw Throwables.propagate(e); } }