| /external/guava/guava-testlib/src/com/google/common/testing/ |
| D | ClusterException.java | 27 * exceptions", or something close to it. The prototypical code that calls for this class is 43 * {@literal List<Exception>} exceptions = Lists.newArrayList(); 48 * exceptions.add(e); 51 * if (exceptions.size() > 0) { 52 * throw ClusterException.create(exceptions); 65 final Collection<? extends Throwable> exceptions; field in ClusterException 67 private ClusterException(Collection<? extends Throwable> exceptions) { in ClusterException() argument 69 exceptions.size() + " exceptions were thrown. The first exception is listed as a cause.", in ClusterException() 70 exceptions.iterator().next()); in ClusterException() 71 ArrayList<? extends Throwable> temp = new ArrayList<>(exceptions); in ClusterException() [all …]
|
| /external/guava/android/guava-testlib/src/com/google/common/testing/ |
| D | ClusterException.java | 27 * exceptions", or something close to it. The prototypical code that calls for this class is 43 * {@literal List<Exception>} exceptions = Lists.newArrayList(); 48 * exceptions.add(e); 51 * if (exceptions.size() > 0) { 52 * throw ClusterException.create(exceptions); 65 final Collection<? extends Throwable> exceptions; field in ClusterException 67 private ClusterException(Collection<? extends Throwable> exceptions) { in ClusterException() argument 69 exceptions.size() + " exceptions were thrown. The first exception is listed as a cause.", in ClusterException() 70 exceptions.iterator().next()); in ClusterException() 71 ArrayList<? extends Throwable> temp = new ArrayList<>(exceptions); in ClusterException() [all …]
|
| /external/icu/icu4j/tools/misc/src/main/java/com/ibm/icu/dev/tool/layout/ |
| D | CanonGSUBBuilder.java | 365 ClassTable exceptions = new ClassTable(); in buildCombiningClassTable() local 369 exceptions.addMapping(0x05C1, 10); // Point Shin Dot in buildCombiningClassTable() 370 exceptions.addMapping(0x05C2, 11); // Point Sin Dot in buildCombiningClassTable() 371 exceptions.addMapping(0x05BC, 21); // Point Dagesh or Mapiq in buildCombiningClassTable() 372 exceptions.addMapping(0x05BF, 23); // Point Rafe in buildCombiningClassTable() 373 exceptions.addMapping(0x05B9, 27); // Point Holam in buildCombiningClassTable() 374 exceptions.addMapping(0x0323, 220); // Comb. Dot Below (low punctum) in buildCombiningClassTable() 375 exceptions.addMapping(0x0591, 220); // Accent Etnahta in buildCombiningClassTable() 376 exceptions.addMapping(0x0596, 220); // Accent Tipeha in buildCombiningClassTable() 377 exceptions.addMapping(0x059B, 220); // Accent Tevir in buildCombiningClassTable() [all …]
|
| /external/python/apitools/apitools/base/py/ |
| D | exceptions_test.py | 17 from apitools.base.py import exceptions 29 """Tests for exceptions.HttpError.FromResponse.""" 32 err = exceptions.HttpError.FromResponse(_MakeResponse(400)) 33 self.assertIsInstance(err, exceptions.HttpError) 34 self.assertIsInstance(err, exceptions.HttpBadRequestError) 38 err = exceptions.HttpError.FromResponse(_MakeResponse(401)) 39 self.assertIsInstance(err, exceptions.HttpError) 40 self.assertIsInstance(err, exceptions.HttpUnauthorizedError) 44 err = exceptions.HttpError.FromResponse(_MakeResponse(403)) 45 self.assertIsInstance(err, exceptions.HttpError) [all …]
|
| /external/python/python-api-core/tests/unit/ |
| D | test_exceptions.py | 28 from google.api_core import exceptions 34 exception = exceptions.GoogleAPICallError("Testing") 48 exception = exceptions.GoogleAPICallError("Testing", [error], response=response) 58 exception = exceptions.from_http_status(http.client.NOT_FOUND, message) 68 exception = exceptions.from_http_status( 72 assert isinstance(exception, exceptions.NotFound) 82 exception = exceptions.from_http_status(status_code, message) 100 exception = exceptions.from_http_response(response) 102 assert isinstance(exception, exceptions.NotFound) 112 exception = exceptions.from_http_response(response) [all …]
|
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
| D | ExceptionHandler.java | 46 ArabicShapingException exceptions[] = new ArabicShapingException[locales.length]; in getTestObjects() local 49 exceptions[i] = new ArabicShapingException(locales[i].toString()); in getTestObjects() 52 return exceptions; in getTestObjects() 62 StringPrepParseException exceptions[] = new StringPrepParseException[locales.length]; in getTestObjects() local 65 exceptions[i] = new StringPrepParseException(locales[i].toString(), i, rules, i); in getTestObjects() 68 return exceptions; in getTestObjects() 77 … UResourceTypeMismatchException exceptions[] = new UResourceTypeMismatchException[locales.length]; in getTestObjects() local 80 exceptions[i] = new UResourceTypeMismatchException(locales[i].toString()); in getTestObjects() 83 return exceptions; in getTestObjects() 92 InvalidFormatException exceptions[] = new InvalidFormatException[locales.length]; in getTestObjects() local [all …]
|
| /external/icu/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/serializable/ |
| D | ExceptionHandler.java | 45 ArabicShapingException exceptions[] = new ArabicShapingException[locales.length]; in getTestObjects() local 48 exceptions[i] = new ArabicShapingException(locales[i].toString()); in getTestObjects() 51 return exceptions; in getTestObjects() 61 StringPrepParseException exceptions[] = new StringPrepParseException[locales.length]; in getTestObjects() local 64 exceptions[i] = new StringPrepParseException(locales[i].toString(), i, rules, i); in getTestObjects() 67 return exceptions; in getTestObjects() 76 … UResourceTypeMismatchException exceptions[] = new UResourceTypeMismatchException[locales.length]; in getTestObjects() local 79 exceptions[i] = new UResourceTypeMismatchException(locales[i].toString()); in getTestObjects() 82 return exceptions; in getTestObjects() 91 InvalidFormatException exceptions[] = new InvalidFormatException[locales.length]; in getTestObjects() local [all …]
|
| /external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/ |
| D | StackTraceRecoveryNestedScopesTest.kt | 1 package kotlinx.coroutines.exceptions 12 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest.failure(StackTraceRecoveryN… 13 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest.access\$failure(StackTraceR… 14 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest\$createFailingAsync\$1.invo… 16 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest\$callWithTimeout\$2.invokeS… 17 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest\$callCoroutineScope\$2.invo… 18 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest\$$TEST_MACROS\$1.invokeSusp… 20 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest.failure(StackTraceRecoveryN… 21 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest.access\$failure(StackTraceR… 22 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest\$createFailingAsync\$1.invo… [all …]
|
| D | StackTraceRecoveryTest.kt | 5 package kotlinx.coroutines.exceptions in <lambda>() 37 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest\$testAsync\$1\$createDeferred\$1.invoke… in <lambda>() 39 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest.oneMoreNestedMethod(StackTraceRecoveryT… in <lambda>() 40 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest.nestedMethod(StackTraceRecoveryTest.kt:… in <lambda>() 41 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest\$testAsync\$1.invokeSuspend(StackTraceR… in <lambda>() 43 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest\$testAsync\$1\$createDeferred\$1.invoke… in <lambda>() 59 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest\$testCompletedAsync\$1\$deferred\$1.inv… in <lambda>() 61 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest.oneMoreNestedMethod(StackTraceRecoveryT… in <lambda>() 62 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest.nestedMethod(StackTraceRecoveryTest.kt:… in <lambda>() 63 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest\$testCompletedAsync\$1.invokeSuspend(St… in <lambda>() [all …]
|
| /external/clang/test/Driver/ |
| D | clang-exception-flags.cpp | 4 // DEFAULT: "-cc1" {{.*}} "-fcxx-exceptions" "-fexceptions" 7 // ON1: "-cc1" {{.*}} "-fcxx-exceptions" "-fexceptions" 9 // RUN: %clang -### -fno-exceptions -fcxx-exceptions %s 2>&1 | FileCheck %s -check-prefix=ON2 10 // ON2: "-cc1" {{.*}} "-fcxx-exceptions" "-fexceptions" 12 // RUN: %clang -### -fno-cxx-exceptions -fexceptions %s 2>&1 | FileCheck %s -check-prefix=ON3 13 // ON3: "-cc1" {{.*}} "-fcxx-exceptions" "-fexceptions" 15 // RUN: %clang -### -fno-exceptions %s 2>&1 | FileCheck %s -check-prefix=OFF1 16 // OFF1-NOT: "-cc1" {{.*}} "-fcxx-exceptions" 18 // RUN: %clang -### -fno-cxx-exceptions %s 2>&1 | FileCheck %s -check-prefix=OFF2 19 // OFF2-NOT: "-cc1" {{.*}} "-fcxx-exceptions" [all …]
|
| /external/python/cpython3/Tools/c-analyzer/cpython/ |
| D | globals-to-fix.tsv | 45 Objects/exceptions.c - _PyExc_BaseExceptionGroup - 46 Objects/exceptions.c - _PyExc_EncodingWarning - 135 Objects/exceptions.c - _PyExc_BaseException - 136 Objects/exceptions.c - _PyExc_UnicodeEncodeError - 137 Objects/exceptions.c - _PyExc_UnicodeDecodeError - 138 Objects/exceptions.c - _PyExc_UnicodeTranslateError - 139 Objects/exceptions.c - _PyExc_MemoryError - 140 Objects/exceptions.c - _PyExc_Exception - 141 Objects/exceptions.c - _PyExc_TypeError - 142 Objects/exceptions.c - _PyExc_StopAsyncIteration - [all …]
|
| /external/aws-sdk-java-v2/codegen/src/test/resources/software/amazon/awssdk/codegen/poet/client/ |
| D | test-abstract-async-client-class.java | 74 * exceptions. 78 …* <li>SdkException Base class for all exceptions that can be thrown by the SDK (both servi… 82 …* <li>JsonException Base class for all service exceptions. Unknown exceptions will be thro… 102 * exceptions. 106 …* <li>SdkException Base class for all exceptions that can be thrown by the SDK (both servi… 110 …* <li>JsonException Base class for all service exceptions. Unknown exceptions will be thro… 129 * exceptions. 131 …* <li>SdkException Base class for all exceptions that can be thrown by the SDK (both servi… 135 …* <li>JsonException Base class for all service exceptions. Unknown exceptions will be thro… 154 * exceptions. [all …]
|
| D | test-json-async-client-interface.java | 87 * exceptions. 91 …* <li>SdkException Base class for all exceptions that can be thrown by the SDK (both servi… 95 …* <li>JsonException Base class for all service exceptions. Unknown exceptions will be thro… 124 * exceptions. 128 …* <li>SdkException Base class for all exceptions that can be thrown by the SDK (both servi… 132 …* <li>JsonException Base class for all service exceptions. Unknown exceptions will be thro… 154 * exceptions. 158 …* <li>SdkException Base class for all exceptions that can be thrown by the SDK (both servi… 162 …* <li>JsonException Base class for all service exceptions. Unknown exceptions will be thro… 190 * exceptions. [all …]
|
| D | test-json-client-interface.java | 74 …* Base class for all exceptions that can be thrown by the SDK (both service and client). C… 79 …* Base class for all service exceptions. Unknown exceptions will be thrown as an instance … 109 …* Base class for all exceptions that can be thrown by the SDK (both service and client). C… 114 …* Base class for all service exceptions. Unknown exceptions will be thrown as an instance … 137 …* Base class for all exceptions that can be thrown by the SDK (both service and client). C… 142 …* Base class for all service exceptions. Unknown exceptions will be thrown as an instance … 171 …* Base class for all exceptions that can be thrown by the SDK (both service and client). C… 176 …* Base class for all service exceptions. Unknown exceptions will be thrown as an instance … 194 …* Base class for all exceptions that can be thrown by the SDK (both service and client). C… 199 …* Base class for all service exceptions. Unknown exceptions will be thrown as an instance … [all …]
|
| D | test-abstract-sync-client-class.java | 62 …* Base class for all exceptions that can be thrown by the SDK (both service and client). C… 67 …* Base class for all service exceptions. Unknown exceptions will be thrown as an instance … 88 …* Base class for all exceptions that can be thrown by the SDK (both service and client). C… 93 …* Base class for all service exceptions. Unknown exceptions will be thrown as an instance … 111 …* Base class for all exceptions that can be thrown by the SDK (both service and client). C… 116 …* Base class for all service exceptions. Unknown exceptions will be thrown as an instance … 133 …* Base class for all exceptions that can be thrown by the SDK (both service and client). C… 138 …* Base class for all service exceptions. Unknown exceptions will be thrown as an instance … 160 …* Base class for all exceptions that can be thrown by the SDK (both service and client). C… 165 …* Base class for all service exceptions. Unknown exceptions will be thrown as an instance … [all …]
|
| /external/truth/core/src/test/java/com/google/common/truth/ |
| D | CorrespondenceExceptionStoreTest.java | 39 Correspondence.ExceptionStore exceptions = Correspondence.ExceptionStore.forIterable(); in hasCompareException_empty() local 40 assertThat(exceptions.hasCompareException()).isFalse(); in hasCompareException_empty() 45 Correspondence.ExceptionStore exceptions = Correspondence.ExceptionStore.forIterable(); in hasCompareException_hasCompareException() local 46 addCompareException(exceptions); in hasCompareException_hasCompareException() 47 assertThat(exceptions.hasCompareException()).isTrue(); in hasCompareException_hasCompareException() 52 Correspondence.ExceptionStore exceptions = Correspondence.ExceptionStore.forIterable(); in describeAsMainCause_empty() local 54 exceptions.describeAsMainCause(); in describeAsMainCause_empty() 62 Correspondence.ExceptionStore exceptions = Correspondence.ExceptionStore.forIterable(); in describeAsMainCause_notEmpty() local 63 addCompareException(exceptions); in describeAsMainCause_notEmpty() 65 exceptions.describeAsMainCause(), in describeAsMainCause_notEmpty() [all …]
|
| /external/python/cpython3/Tools/c-analyzer/ |
| D | TODO | 156 Objects/exceptions.c:_check_for_legacy_statements():exec_prefix static PyObject *exec_prefix 157 Objects/exceptions.c:_check_for_legacy_statements():print_prefix static PyObject *print_prefix 323 Objects/exceptions.c:ImportError_getstate():PyId_name _Py_IDENTIFIER(name) 324 Objects/exceptions.c:ImportError_getstate():PyId_path _Py_IDENTIFIER(path) 657 Objects/exceptions.c:PyExc_ArithmeticError static PyTypeObject PyExc_Arithmet… 658 Objects/exceptions.c:PyExc_AssertionError static PyTypeObject PyExc_Assertio… 659 Objects/exceptions.c:PyExc_AttributeError static PyTypeObject PyExc_Attribut… 660 Objects/exceptions.c:PyExc_BaseException static PyTypeObject PyExc_BaseExce… 661 Objects/exceptions.c:PyExc_BlockingIOError static PyTypeObject PyExc_Blocking… 662 Objects/exceptions.c:PyExc_BrokenPipeError static PyTypeObject PyExc_BrokenPi… [all …]
|
| /external/clang/test/Lexer/ |
| D | has_feature_exceptions.cpp | 1 // RUN: %clang -E -fexceptions %s -o - | FileCheck --check-prefix=CHECK-EXCEPTIONS %s 2 // RUN: %clang -E -fexceptions -fno-cxx-exceptions %s -o - | FileCheck --check-prefix=CHECK-NO-EXCE… 3 // RUN: %clang -E -fno-exceptions %s -o - | FileCheck --check-prefix=CHECK-NO-EXCEPTIONS %s 5 // RUN: %clang_cc1 -E -fcxx-exceptions %s -o - | FileCheck --check-prefix=CHECK-EXCEPTIONS %s 6 // RUN: %clang_cc1 -E -fobjc-exceptions %s -o - | FileCheck --check-prefix=CHECK-NO-EXCEPTIONS %s 7 // RUN: %clang_cc1 -E -fexceptions %s -o - | FileCheck --check-prefix=CHECK-NO-EXCEPTIONS %s 8 // RUN: %clang_cc1 -E %s -o - | FileCheck --check-prefix=CHECK-NO-EXCEPTIONS %s 16 // CHECK-EXCEPTIONS: foo 17 // CHECK-NO-EXCEPTIONS: bar
|
| /external/guava/guava/src/com/google/common/io/ |
| D | MoreFiles.java | 494 * directory, this method skips that file and continues. All such exceptions are collected and, 496 * exceptions as {@linkplain Throwable#getSuppressed() suppressed exceptions}. 524 Collection<IOException> exceptions = null; // created lazily if needed 530 exceptions = 543 exceptions = deleteRecursivelyInsecure(path); 546 if (exceptions == null) { 549 exceptions.add(e); 553 if (exceptions != null) { 554 throwDeleteFailed(path, exceptions); 565 * directory, this method skips that file and continues. All such exceptions are collected and, [all …]
|
| /external/cronet/base/android/java/src/org/chromium/base/ |
| D | IntentUtils.java | 47 /** Just like {@link Intent#hasExtra(String)} but doesn't throw exceptions. */ 52 // Catches un-parceling exceptions. in safeHasExtra() 58 /** Just like {@link Intent#removeExtra(String)} but doesn't throw exceptions. */ 63 // Catches un-parceling exceptions. in safeRemoveExtra() 68 /** Just like {@link Intent#getBooleanExtra(String, boolean)} but doesn't throw exceptions. */ 73 // Catches un-parceling exceptions. in safeGetBooleanExtra() 79 /** Just like {@link Bundle#getBoolean(String, boolean)} but doesn't throw exceptions. */ 84 // Catches un-parceling exceptions. in safeGetBoolean() 90 /** Just like {@link Intent#getIntExtra(String, int)} but doesn't throw exceptions. */ 95 // Catches un-parceling exceptions. in safeGetIntExtra() [all …]
|
| /external/eigen/bench/btl/libs/eigen3/ |
| D | CMakeLists.txt | 19 btl_add_target_property(btl_eigen3_linear COMPILE_FLAGS "-fno-exceptions -DBTL_PREFIX=eigen3") 20 btl_add_target_property(btl_eigen3_vecmat COMPILE_FLAGS "-fno-exceptions -DBTL_PREFIX=eigen3") 21 btl_add_target_property(btl_eigen3_matmat COMPILE_FLAGS "-fno-exceptions -DBTL_PREFIX=eigen3") 22 btl_add_target_property(btl_eigen3_adv COMPILE_FLAGS "-fno-exceptions -DBTL_PREFIX=eigen3") 31 …btl_add_target_property(btl_eigen3_nogccvec_linear COMPILE_FLAGS "-fno-exceptions -fno-tree-vector… 32 …btl_add_target_property(btl_eigen3_nogccvec_vecmat COMPILE_FLAGS "-fno-exceptions -fno-tree-vector… 33 …btl_add_target_property(btl_eigen3_nogccvec_matmat COMPILE_FLAGS "-fno-exceptions -fno-tree-vector… 34 …btl_add_target_property(btl_eigen3_nogccvec_adv COMPILE_FLAGS "-fno-exceptions -fno-tree-vector… 43 …btl_add_target_property(btl_eigen3_novec_linear COMPILE_FLAGS "-fno-exceptions -DEIGEN_DONT_VECTOR… 44 …btl_add_target_property(btl_eigen3_novec_vecmat COMPILE_FLAGS "-fno-exceptions -DEIGEN_DONT_VECTOR… [all …]
|
| /external/python/mako/test/ |
| D | test_exceptions.py | 3 from mako import exceptions 22 except exceptions.CompileException: 23 html_error = exceptions.html_error_template().render_unicode() 33 not_full = exceptions.html_error_template().render_unicode( 39 no_css = exceptions.html_error_template().render_unicode(css=False) 55 except exceptions.CompileException: 56 text_error = exceptions.text_error_template().render_unicode() 76 except exceptions.CompileException: 77 html_error = exceptions.html_error_template().render() 109 except exceptions.CompileException: [all …]
|
| /external/cronet/third_party/libc++/src/test/std/input.output/iostreams.base/ios/iostate.flags/ |
| D | exceptions_iostate.pass.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 13 // iostate exceptions() const; 27 assert(ios.exceptions() == std::ios::goodbit); in main() 28 ios.exceptions(std::ios::eofbit); in main() 29 assert(ios.exceptions() == std::ios::eofbit); in main() 33 ios.exceptions(std::ios::badbit); in main() 39 assert(ios.exceptions() == std::ios::badbit); in main() 45 assert(ios.exceptions() == std::ios::goodbit); in main() 46 ios.exceptions(std::ios::eofbit); in main() 47 assert(ios.exceptions() == std::ios::eofbit); in main() [all …]
|
| /external/python/cpython3/Doc/tutorial/ |
| D | errors.rst | 4 Errors and Exceptions 9 distinguishable kinds of errors: *syntax errors* and *exceptions*. 34 .. _tut-exceptions: 36 Exceptions chapter 41 are called *exceptions* and are not unconditionally fatal: you will soon learn 42 how to handle them in Python programs. Most exceptions are not handled by 58 The last line of the error message indicates what happened. Exceptions come in 62 that occurred. This is true for all built-in exceptions, but need not be true 63 for user-defined exceptions (although it is a useful convention). Standard 74 :ref:`bltin-exceptions` lists the built-in exceptions and their meanings. [all …]
|
| /external/libcxx/test/std/input.output/iostreams.base/ios/iostate.flags/ |
| D | exceptions_iostate.pass.cpp | 14 // iostate exceptions() const; 28 assert(ios.exceptions() == std::ios::goodbit); in main() 29 ios.exceptions(std::ios::eofbit); in main() 30 assert(ios.exceptions() == std::ios::eofbit); in main() 34 ios.exceptions(std::ios::badbit); in main() 40 assert(ios.exceptions() == std::ios::badbit); in main() 46 assert(ios.exceptions() == std::ios::goodbit); in main() 47 ios.exceptions(std::ios::eofbit); in main() 48 assert(ios.exceptions() == std::ios::eofbit); in main() 49 ios.exceptions(std::ios::badbit); in main() [all …]
|