Exception handling made pretty