Consolidated Exception handling.