I am currently using the play2 framework.
I have several classes which are throwing exceptions but play2s global onError handler uses throwable
exceptions
onError
Just make it short. We can pass Throwable to Exception constructor.
Throwable
Exception
@Override public void onError(Throwable e) { Exception ex = new Exception(e); }
See this Exception from Android