Using old-style catch block for compatibility with older JDK.
Merge pull request #1 from madmaxoft/OldJava

Using old-style catch block for compatibility with older JDK.