Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/n/o/nova-gce-HEAD/nova/api/gce/wsgi.py   nova-gce(Download)
        if not response:
            try:
                with openstack_wsgi.ResourceExceptionHandler():
                    action_result = self.dispatch(meth, request, action_args)
            except openstack_wsgi.Fault as ex:

src/n/o/nova-HEAD/nova/tests/api/openstack/test_wsgi.py   nova(Download)
 
        try:
            with wsgi.ResourceExceptionHandler():
                foo()  # generate a TypeError
            self.fail("Should have raised a Fault (HTTP 400)")

src/n/o/nova-gce-HEAD/nova/tests/api/openstack/test_wsgi.py   nova-gce(Download)
 
        try:
            with wsgi.ResourceExceptionHandler():
                foo()  # generate a TypeError
            self.fail("Should have raised a Fault (HTTP 400)")