3 ms·
In JVM languages it is easy to know what is catching what. The method type signatures clearly specify what exceptions will be thrown. And the compiler require
by threeseed 3y ago
In JVM languages it is easy to know what is catching what.
The method type signatures clearly specify what exceptions will be thrown.
And the compiler requires you to deliberately handle those exceptions.
But I wouldn't consider Java to be the best approach for error handling anyway.