Refactored response and on-exception methods