Add example to demo that Java doesn't support generic Throwable