| /external/selinux/libsemanage/src/ |
| D | semanageswig_python_exception.i | 2 %exception semanage_reload_policy { 10 %exception semanage_get_hll_compiler_path { 18 %exception semanage_get_disable_dontaudit { 26 %exception semanage_set_default_priority { 34 %exception semanage_is_managed { 42 %exception semanage_connect { 50 %exception semanage_disconnect { 58 %exception semanage_begin_transaction { 66 %exception semanage_commit { 74 %exception semanage_access_check { [all …]
|
| /external/selinux/libselinux/src/ |
| D | selinuxswig_python_exception.i | 2 %exception is_selinux_enabled { 10 %exception is_selinux_mls_enabled { 18 %exception getcon { 26 %exception getcon_raw { 34 %exception setcon { 42 %exception setcon_raw { 50 %exception getpidcon { 58 %exception getpidcon_raw { 66 %exception getprevcon { 74 %exception getprevcon_raw { [all …]
|
| /external/python/python-api-core/tests/unit/ |
| D | test_exceptions.py | 34 exception = exceptions.GoogleAPICallError("Testing") 35 exception.code = 600 36 assert str(exception) == "600 Testing" 37 assert exception.message == "Testing" 38 assert exception.errors == [] 39 assert exception.response is None 48 exception = exceptions.GoogleAPICallError("Testing", [error], response=response) 49 exception.code = 600 50 assert str(exception) == "600 Testing" 51 assert exception.message == "Testing" [all …]
|
| /external/armnn/include/armnn/ |
| D | Exceptions.hpp | 46 class Exception : public std::exception class 49 explicit Exception(const std::string& message); 51 /// exception with context 52 explicit Exception(const std::string& message, 55 /// preserving previous exception context 57 explicit Exception(const Exception& other, 68 class BackendUnavailableException : public Exception 71 using Exception::Exception; 80 class InvalidArgumentException : public Exception 83 using Exception::Exception; [all …]
|
| /external/ow2-asm/asm-util/src/test/java/org/objectweb/asm/util/ |
| D | CheckMethodAdapterTest.java | 69 Exception exception = assertThrows(IllegalArgumentException.class, visitTypeAnnotation); in testVisitTypeAnnotation_illegalTypeRef() local 70 assertEquals("Invalid type reference sort 0xff", exception.getMessage()); in testVisitTypeAnnotation_illegalTypeRef() 80 Exception exception = assertThrows(IllegalArgumentException.class, visitParameterAnnotation); in testVisitParameterAnnotation_invisibleAnnotation_illegalParameterIndex() local 81 assertEquals("Invalid parameter index", exception.getMessage()); in testVisitParameterAnnotation_invisibleAnnotation_illegalParameterIndex() 91 Exception exception = assertThrows(IllegalArgumentException.class, visitParameterAnnotation); in testVisitParameterAnnotation_visibleAnnotation_illegalParameterIndex() local 92 assertEquals("Invalid parameter index", exception.getMessage()); in testVisitParameterAnnotation_visibleAnnotation_illegalParameterIndex() 100 Exception exception = assertThrows(IllegalArgumentException.class, visitParameterAnnotation); in testVisitParameterAnnotation_illegalDescriptor() local 101 assertEquals("Invalid descriptor: '", exception.getMessage()); in testVisitParameterAnnotation_illegalDescriptor() 110 Exception exception = assertThrows(IllegalStateException.class, visitAttribute); in testVisitAttribute_afterEnd() local 111 assertEquals("Cannot visit elements after visitEnd has been called.", exception.getMessage()); in testVisitAttribute_afterEnd() [all …]
|
| /external/google-cloud-java/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/ |
| D | AnalyticsAdminServiceClientHttpJsonTest.java | 99 public void tearDown() throws Exception { in tearDown() 104 public void getAccountTest() throws Exception { in getAccountTest() 137 public void getAccountExceptionTest() throws Exception { in getAccountExceptionTest() 138 ApiException exception = in getAccountExceptionTest() local 140 new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); in getAccountExceptionTest() 141 mockService.addException(exception); in getAccountExceptionTest() 146 Assert.fail("No exception raised"); in getAccountExceptionTest() 148 // Expected exception. in getAccountExceptionTest() 153 public void getAccountTest2() throws Exception { in getAccountTest2() 186 public void getAccountExceptionTest2() throws Exception { in getAccountExceptionTest2() [all …]
|
| D | AnalyticsAdminServiceClientTest.java | 103 public void tearDown() throws Exception { in tearDown() 108 public void getAccountTest() throws Exception { in getAccountTest() 137 public void getAccountExceptionTest() throws Exception { in getAccountExceptionTest() 138 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in getAccountExceptionTest() local 139 mockAnalyticsAdminService.addException(exception); in getAccountExceptionTest() 144 Assert.fail("No exception raised"); in getAccountExceptionTest() 146 // Expected exception. in getAccountExceptionTest() 151 public void getAccountTest2() throws Exception { in getAccountTest2() 180 public void getAccountExceptionTest2() throws Exception { in getAccountExceptionTest2() 181 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in getAccountExceptionTest2() local [all …]
|
| /external/sdv/vsomeip/third_party/boost/unordered/test/exception/ |
| D | containers.hpp | 13 #include "../objects/exception.hpp" 15 typedef boost::unordered_set<test::exception::object, test::exception::hash, 16 test::exception::equal_to, 17 test::exception::allocator<test::exception::object> > 19 typedef boost::unordered_multiset<test::exception::object, 20 test::exception::hash, test::exception::equal_to, 21 test::exception::allocator2<test::exception::object> > 23 typedef boost::unordered_map<test::exception::object, test::exception::object, 24 test::exception::hash, test::exception::equal_to, 25 test::exception::allocator2<test::exception::object> > [all …]
|
| /external/google-cloud-java/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/ |
| D | AnalyticsAdminServiceClientHttpJsonTest.java | 89 public void tearDown() throws Exception { in tearDown() 94 public void getAccountTest() throws Exception { in getAccountTest() 127 public void getAccountExceptionTest() throws Exception { in getAccountExceptionTest() 128 ApiException exception = in getAccountExceptionTest() local 130 new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); in getAccountExceptionTest() 131 mockService.addException(exception); in getAccountExceptionTest() 136 Assert.fail("No exception raised"); in getAccountExceptionTest() 138 // Expected exception. in getAccountExceptionTest() 143 public void getAccountTest2() throws Exception { in getAccountTest2() 176 public void getAccountExceptionTest2() throws Exception { in getAccountExceptionTest2() [all …]
|
| /external/sdk-platform-java/java-core/google-cloud-core/src/main/java/com/google/cloud/ |
| D | ExceptionHandler.java | 35 /** Exception retry algorithm implementation used by {@link RetryHelper}. */ 42 newBuilder().retryOn(Exception.class).abortOn(RuntimeException.class).build(); 45 private final ImmutableSet<Class<? extends Exception>> retriableExceptions; 46 private final ImmutableSet<Class<? extends Exception>> nonRetriableExceptions; 58 * This method is called before exception evaluation and could short-circuit the process. 60 * @param exception the exception that is being evaluated 61 * @return {@link RetryResult} to indicate if the exception should be ignored ( {@link 65 RetryResult beforeEval(Exception exception); in beforeEval() argument 70 * @param exception the exception that is being evaluated 72 * @return {@link RetryResult} to indicate if the exception should be ignored ( {@link [all …]
|
| /external/google-cloud-java/java-dlp/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/ |
| D | DlpServiceClientHttpJsonTest.java | 127 public void tearDown() throws Exception { in tearDown() 132 public void inspectContentTest() throws Exception { in inspectContentTest() 165 public void inspectContentExceptionTest() throws Exception { in inspectContentExceptionTest() 166 ApiException exception = in inspectContentExceptionTest() local 168 new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); in inspectContentExceptionTest() 169 mockService.addException(exception); in inspectContentExceptionTest() 181 Assert.fail("No exception raised"); in inspectContentExceptionTest() 183 // Expected exception. in inspectContentExceptionTest() 188 public void redactImageTest() throws Exception { in redactImageTest() 226 public void redactImageExceptionTest() throws Exception { in redactImageExceptionTest() [all …]
|
| /external/google-cloud-java/java-dataform/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/ |
| D | DataformClientHttpJsonTest.java | 99 public void tearDown() throws Exception { in tearDown() 104 public void listRepositoriesTest() throws Exception { in listRepositoriesTest() 138 public void listRepositoriesExceptionTest() throws Exception { in listRepositoriesExceptionTest() 139 ApiException exception = in listRepositoriesExceptionTest() local 141 new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); in listRepositoriesExceptionTest() 142 mockService.addException(exception); in listRepositoriesExceptionTest() 147 Assert.fail("No exception raised"); in listRepositoriesExceptionTest() 149 // Expected exception. in listRepositoriesExceptionTest() 154 public void listRepositoriesTest2() throws Exception { in listRepositoriesTest2() 188 public void listRepositoriesExceptionTest2() throws Exception { in listRepositoriesExceptionTest2() [all …]
|
| /external/google-cloud-java/java-vision/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p4beta1/ |
| D | ProductSearchClientHttpJsonTest.java | 85 public void tearDown() throws Exception { in tearDown() 90 public void createProductSetTest() throws Exception { in createProductSetTest() 123 public void createProductSetExceptionTest() throws Exception { in createProductSetExceptionTest() 124 ApiException exception = in createProductSetExceptionTest() local 126 new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); in createProductSetExceptionTest() 127 mockService.addException(exception); in createProductSetExceptionTest() 134 Assert.fail("No exception raised"); in createProductSetExceptionTest() 136 // Expected exception. in createProductSetExceptionTest() 141 public void createProductSetTest2() throws Exception { in createProductSetTest2() 174 public void createProductSetExceptionTest2() throws Exception { in createProductSetExceptionTest2() [all …]
|
| /external/google-cloud-java/java-vision/google-cloud-vision/src/test/java/com/google/cloud/vision/v1/ |
| D | ProductSearchClientHttpJsonTest.java | 85 public void tearDown() throws Exception { in tearDown() 90 public void createProductSetTest() throws Exception { in createProductSetTest() 123 public void createProductSetExceptionTest() throws Exception { in createProductSetExceptionTest() 124 ApiException exception = in createProductSetExceptionTest() local 126 new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); in createProductSetExceptionTest() 127 mockService.addException(exception); in createProductSetExceptionTest() 134 Assert.fail("No exception raised"); in createProductSetExceptionTest() 136 // Expected exception. in createProductSetExceptionTest() 141 public void createProductSetTest2() throws Exception { in createProductSetTest2() 174 public void createProductSetExceptionTest2() throws Exception { in createProductSetExceptionTest2() [all …]
|
| /external/google-cloud-java/java-dns/src/test/java/com/google/cloud/dns/ |
| D | DnsExceptionTest.java | 39 public void testDnsException() throws Exception { in testDnsException() 41 DnsException exception = new DnsException(500, "message", cause); in testDnsException() local 42 assertEquals(500, exception.getCode()); in testDnsException() 43 assertEquals("message", exception.getMessage()); in testDnsException() 44 assertNull(exception.getReason()); in testDnsException() 45 assertTrue(exception.isRetryable()); in testDnsException() 46 assertSame(cause, exception.getCause()); in testDnsException() 48 exception = new DnsException(502, "message", cause); in testDnsException() 49 assertEquals(502, exception.getCode()); in testDnsException() 50 assertEquals("message", exception.getMessage()); in testDnsException() [all …]
|
| /external/google-cloud-java/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/ |
| D | DataCatalogClientHttpJsonTest.java | 88 public void tearDown() throws Exception { in tearDown() 93 public void searchCatalogTest() throws Exception { in searchCatalogTest() 128 public void searchCatalogExceptionTest() throws Exception { in searchCatalogExceptionTest() 129 ApiException exception = in searchCatalogExceptionTest() local 131 new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); in searchCatalogExceptionTest() 132 mockService.addException(exception); in searchCatalogExceptionTest() 138 Assert.fail("No exception raised"); in searchCatalogExceptionTest() 140 // Expected exception. in searchCatalogExceptionTest() 145 public void createEntryGroupTest() throws Exception { in createEntryGroupTest() 178 public void createEntryGroupExceptionTest() throws Exception { in createEntryGroupExceptionTest() [all …]
|
| /external/python/cpython3/Doc/library/ |
| D | exceptions.rst | 12 clause that mentions a particular class, that clause also handles any exception 13 classes derived from that class (but not exception classes from which *it* is 14 derived). Two exception classes that are not related via subclassing are never 23 code). The associated value is usually passed as arguments to the exception 26 User code can raise built-in exceptions. This can be used to test an exception 28 interpreter raises the same exception; but beware that there is nothing to 31 The built-in exception classes can be subclassed to define new exceptions; 32 programmers are encouraged to derive new exceptions from the :exc:`Exception` 38 Exception context 41 .. index:: pair: exception; chaining [all …]
|
| /external/google-cloud-java/java-artifact-registry/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ |
| D | ArtifactRegistryClientHttpJsonTest.java | 105 public void tearDown() throws Exception { in tearDown() 110 public void listDockerImagesTest() throws Exception { in listDockerImagesTest() 144 public void listDockerImagesExceptionTest() throws Exception { in listDockerImagesExceptionTest() 145 ApiException exception = in listDockerImagesExceptionTest() local 147 new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); in listDockerImagesExceptionTest() 148 mockService.addException(exception); in listDockerImagesExceptionTest() 153 Assert.fail("No exception raised"); in listDockerImagesExceptionTest() 155 // Expected exception. in listDockerImagesExceptionTest() 160 public void getDockerImageTest() throws Exception { in getDockerImageTest() 198 public void getDockerImageExceptionTest() throws Exception { in getDockerImageExceptionTest() [all …]
|
| /external/google-cloud-java/java-vision/google-cloud-vision/src/test/java/com/google/cloud/vision/v1p3beta1/ |
| D | ProductSearchClientHttpJsonTest.java | 85 public void tearDown() throws Exception { in tearDown() 90 public void createProductSetTest() throws Exception { in createProductSetTest() 123 public void createProductSetExceptionTest() throws Exception { in createProductSetExceptionTest() 124 ApiException exception = in createProductSetExceptionTest() local 126 new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); in createProductSetExceptionTest() 127 mockService.addException(exception); in createProductSetExceptionTest() 134 Assert.fail("No exception raised"); in createProductSetExceptionTest() 136 // Expected exception. in createProductSetExceptionTest() 141 public void createProductSetTest2() throws Exception { in createProductSetTest2() 174 public void createProductSetExceptionTest2() throws Exception { in createProductSetExceptionTest2() [all …]
|
| /external/google-cloud-java/java-dataform/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/ |
| D | DataformClientHttpJsonTest.java | 91 public void tearDown() throws Exception { in tearDown() 96 public void listRepositoriesTest() throws Exception { in listRepositoriesTest() 130 public void listRepositoriesExceptionTest() throws Exception { in listRepositoriesExceptionTest() 131 ApiException exception = in listRepositoriesExceptionTest() local 133 new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); in listRepositoriesExceptionTest() 134 mockService.addException(exception); in listRepositoriesExceptionTest() 139 Assert.fail("No exception raised"); in listRepositoriesExceptionTest() 141 // Expected exception. in listRepositoriesExceptionTest() 146 public void listRepositoriesTest2() throws Exception { in listRepositoriesTest2() 180 public void listRepositoriesExceptionTest2() throws Exception { in listRepositoriesExceptionTest2() [all …]
|
| /external/google-cloud-java/java-gsuite-addons/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/ |
| D | GSuiteAddOnsClientHttpJsonTest.java | 77 public void tearDown() throws Exception { in tearDown() 82 public void getAuthorizationTest() throws Exception { in getAuthorizationTest() 112 public void getAuthorizationExceptionTest() throws Exception { in getAuthorizationExceptionTest() 113 ApiException exception = in getAuthorizationExceptionTest() local 115 new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); in getAuthorizationExceptionTest() 116 mockService.addException(exception); in getAuthorizationExceptionTest() 121 Assert.fail("No exception raised"); in getAuthorizationExceptionTest() 123 // Expected exception. in getAuthorizationExceptionTest() 128 public void getAuthorizationTest2() throws Exception { in getAuthorizationTest2() 158 public void getAuthorizationExceptionTest2() throws Exception { in getAuthorizationExceptionTest2() [all …]
|
| /external/python/google-api-python-client/googleapiclient/discovery_cache/documents/ |
| D | mybusinesslodging.v1.json | 213 "description": "Mobility accessible elevator exception.", 221 … "Default unspecified exception. Use this only if a more specific exception does not match.", 229 "description": "Mobility accessible exception.", 237 … "Default unspecified exception. Use this only if a more specific exception does not match.", 249 "description": "Mobility accessible parking exception.", 257 … "Default unspecified exception. Use this only if a more specific exception does not match.", 269 "description": "Mobility accessible pool exception.", 277 … "Default unspecified exception. Use this only if a more specific exception does not match.", 296 "description": "Beach access exception.", 304 … "Default unspecified exception. Use this only if a more specific exception does not match.", [all …]
|
| /external/sdk-platform-java/test/integration/goldens/library/src/com/google/cloud/example/library/v1/ |
| D | LibraryServiceClientHttpJsonTest.java | 84 public void tearDown() throws Exception { in tearDown() 89 public void createShelfTest() throws Exception { in createShelfTest() 118 public void createShelfExceptionTest() throws Exception { in createShelfExceptionTest() 119 ApiException exception = in createShelfExceptionTest() local 121 new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); in createShelfExceptionTest() 122 mockService.addException(exception); in createShelfExceptionTest() 127 Assert.fail("No exception raised"); in createShelfExceptionTest() 129 // Expected exception. in createShelfExceptionTest() 134 public void getShelfTest() throws Exception { in getShelfTest() 163 public void getShelfExceptionTest() throws Exception { in getShelfExceptionTest() [all …]
|
| /external/google-cloud-java/java-bigqueryreservation/google-cloud-bigqueryreservation/src/test/java/com/google/cloud/bigquery/reservation/v1/ |
| D | ReservationServiceClientHttpJsonTest.java | 83 public void tearDown() throws Exception { in tearDown() 88 public void createReservationTest() throws Exception { in createReservationTest() 126 public void createReservationExceptionTest() throws Exception { in createReservationExceptionTest() 127 ApiException exception = in createReservationExceptionTest() local 129 new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); in createReservationExceptionTest() 130 mockService.addException(exception); in createReservationExceptionTest() 137 Assert.fail("No exception raised"); in createReservationExceptionTest() 139 // Expected exception. in createReservationExceptionTest() 144 public void createReservationTest2() throws Exception { in createReservationTest2() 182 public void createReservationExceptionTest2() throws Exception { in createReservationExceptionTest2() [all …]
|
| /external/google-cloud-java/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/ |
| D | DataCatalogClientHttpJsonTest.java | 91 public void tearDown() throws Exception { in tearDown() 96 public void searchCatalogTest() throws Exception { in searchCatalogTest() 131 public void searchCatalogExceptionTest() throws Exception { in searchCatalogExceptionTest() 132 ApiException exception = in searchCatalogExceptionTest() local 134 new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); in searchCatalogExceptionTest() 135 mockService.addException(exception); in searchCatalogExceptionTest() 141 Assert.fail("No exception raised"); in searchCatalogExceptionTest() 143 // Expected exception. in searchCatalogExceptionTest() 148 public void createEntryGroupTest() throws Exception { in createEntryGroupTest() 181 public void createEntryGroupExceptionTest() throws Exception { in createEntryGroupExceptionTest() [all …]
|