Refactored HTTPExceptions to use Response classes.