added method a._addHTTPExceptionWrapper to register an external exception wrapper for an HTTP response code 3