togglz/togglz — pull request #80 by aamyot (2014-03-19 21:19:28+00:00)
Title: Better exception handling in FeatureProxyInvocationHandler

Hi,

When a proxied interface throws a checked exception the InvocationHandler was throwing the "wrong" exception. The checked exception was wrapped into a InvocationTargetException. I simply added a catch block around invoke call. Have a look at the following article for more details:
http://amitstechblog.wordpress.com/2011/07/24/java-proxies-and-undeclaredthrowableexception/

By the way, we are using Togglz and lovinig it!

Thanks,
Alex