Exceptions thrown by functions invoked via Method.invoke() are not propagated to the caller. Instead, they result in an "Unhandled Exception" error that crashes the application.
This behavior is undocumented and significantly reduces the usefulness...