I am currently using the play2 framework.
I have several classes which are throwing exceptions but play2s global onError handler uses throwable
exceptions
onError
Throwable is a class which Exception – and consequently all subclasses thereof – subclasses. There's nothing stopping you from using instanceof on a Throwable.
Exception
instanceof
Throwable