Override system exception hooks

This makes the usage easier.