changed exception handling
Merge pull request #28 from jmaheswaran/master

changed exception handling to be pre Java 1.7 compatible