Properly respond to exceptions thrown by the system.