Fix warnings related to catch all exceptions
Merge pull request #41 from ramnivas/throwable-warnings

Fix warnings related to catch all exceptions