2 ms·
In java there's this distinction between Error (sth that's usualy non-recoverable), checked exception, and runtime exception. You would usually only catch runti
by ajuc 12y ago
In java there's this distinction between Error (sth that's usualy non-recoverable), checked exception, and runtime exception. You would usually only catch runtime exceptions here if this was java (checked are checked staticaly, so they need to be caught anyway).
So yeah, catching throwable is wrong usually.