Replace generic exceptions with ResponseException in main Response class.