Jdk7 - Catching Multiple Exception Type in Single Catch Block
in JDK 7, a single catch block can handle more than one exception types.
For example, before JDK 7, you need two catch blocks to catch two exception types although both perform identical task: |