Exception handling on Linux