Java 7 – multi catch exceptions

Multi Catch Exceptions

In Java 7, multi catch exceptions are introduced. As shown in below highlighted code, catch block can catch FirstException as well as SecondException.



One Reply to “Java 7 – multi catch exceptions”

Leave a Reply

Your email address will not be published. Required fields are marked *