Handling exceptions for Triggers and ProcessConditions.