Add exception handler that should work, also add classpath to gitignore