Multi-catch It’s relatively common for atryblock to be followed by severalcatchblocks to handle various types of exceptions. If the bodies of severalcatchblocks are identical, you can use themulti-catchfeature (introduced in Java SE 7) to catch those exception types in asinglecatchhandler and...
Multicatch : You’ll now be able to catch multi exceptions type in one catch block Final Rethow : Allows you to catch an exception type and it’s subtype and rethrow it without having to add a throws clause to the method signature. Often, we have that kind of code : 1}catch(FirstEx...