Home
last modified time | relevance | path

Searched refs:HTTPException (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium-trace/catapult/third_party/webapp2/docs/guide/
Dexceptions.rst15 They all extend a base class, ``webob.exc.HTTPException``, also available in
16 webapp2 as ``webapp2.HTTPException``.
18 An ``HTTPException`` is also a WSGI application, meaning that an instance of it
19 can be returned to be used as response. If an ``HTTPException`` is not handled,
46 # If the exception is a HTTPException, use its error code.
48 if isinstance(exception, webapp2.HTTPException):
80 code. If the exception is not an ``HTTPException``, the status code 500 is
118 to raise an ``HTTPException`` to be handled by an exception handler.
/external/chromium-trace/catapult/third_party/Paste/paste/
Dhttpexceptions.py96 class HTTPException(Exception): class
203 if HTTPException.template != self.template:
274 class HTTPError(HTTPException):
294 class HTTPRedirection(HTTPException):
599 issubclass(value, HTTPException) and
638 []).append(HTTPException)
641 except HTTPException as exc:
Dtransaction.py16 from paste.httpexceptions import HTTPException
92 if isinstance(exc_info[1], HTTPException):
Dflup_session.py84 except httpexceptions.HTTPException as e:
Dcascade.py64 if isinstance(error, httpexceptions.HTTPException):
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
Ddevtools_http.py44 except (socket.error, httplib.HTTPException) as e:
54 except (socket.error, httplib.HTTPException) as e:
90 except (socket.error, httplib.HTTPException) as e:
/external/chromium-trace/catapult/third_party/Paste/tests/test_exceptions/
Dtest_httpexceptions.py84 assert isinstance(redirect,HTTPException)
88 assert isinstance(notfound,HTTPException)
93 assert isinstance(notimpl,HTTPException)
/external/chromium-trace/catapult/third_party/WebOb/webob/
Dexc.py208 class HTTPException(Exception): class
216 class WSGIHTTPException(Response, HTTPException):
1118 except HTTPException:
1134 if (obj and isinstance(obj, type) and issubclass(obj, HTTPException)
1135 and obj is not HTTPException
1144 issubclass(value, HTTPException)
Ddec.py15 from webob.exc import HTTPException
131 except HTTPException as exc:
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/
Dhttps_connection.py31 class InvalidCertificateException(http_client.HTTPException):
41 http_client.HTTPException.__init__(self)
/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dgcs_json_media.py423 except httplib.HTTPException:
428 except (socket.error, httplib.HTTPException):
492 except httplib.HTTPException:
499 except (socket.error, httplib.HTTPException):
Dboto_resumable_upload.py67 RETRYABLE_EXCEPTIONS = (httplib.HTTPException, IOError, socket.error,
/external/chromium-trace/catapult/third_party/Paste/docs/modules/
Dhttpexceptions.txt15 .. autoexception:: HTTPException
/external/chromium-trace/catapult/third_party/WebOb/docs/modules/
Dexceptions.txt9 .. autoexception:: HTTPException
/external/chromium-trace/catapult/devil/devil/android/
Dports.py172 except (httplib.HTTPException, socket.error) as e:
/external/chromium-trace/catapult/third_party/webtest/webtest/
Dhttp.py40 except (socket.error, http_client.HTTPException):
/external/chromium-trace/catapult/third_party/webapp2/
Dwebapp2.py61 HTTPException = exc.HTTPException variable
1539 except HTTPException, e:
1586 if isinstance(e, HTTPException):
/external/chromium-trace/catapult/third_party/WebOb/docs/jsonrpc-example-code/
Djsonrpc.py22 except exc.HTTPException, e:
/external/chromium-trace/catapult/third_party/WebOb/docs/wiki-example-code/
Dexample.py70 except exc.HTTPException, e:
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
Dresumable_download_handler.py95 RETRYABLE_EXCEPTIONS = (httplib.HTTPException, IOError, socket.error,
/external/autotest/site_utils/
Dbrillo_aue2e_test.py122 except (urllib2.HTTPError, httplib.HTTPException, urllib2.URLError) as e:
/external/autotest/tko/perf_upload/
Dperf_uploader.py345 except httplib.HTTPException:
/external/autotest/scheduler/shard/
Dshard_client.py310 except httplib.HTTPException as e:
/external/autotest/server/
Dsite_utils.py178 except (urllib2.URLError, httplib.HTTPException) as e:
/external/chromium-trace/catapult/third_party/WebOb/docs/
Djsonrpc-example.txt179 except exc.HTTPException, e:
188 ``web.exc.HTTPException`` exception. There's an exception defined in
334 except exc.HTTPException, e:

12