/external/guava/android/guava/src/com/google/common/util/concurrent/ |
D | FuturesGetChecked.java | 47 Future<V> future, Class<X> exceptionClass) throws X { in getChecked() argument 48 return getChecked(bestGetCheckedTypeValidator(), future, exceptionClass); in getChecked() 56 GetCheckedTypeValidator validator, Future<V> future, Class<X> exceptionClass) throws X { in getChecked() argument 57 validator.validateClass(exceptionClass); in getChecked() 62 throw newWithCause(exceptionClass, e); in getChecked() 64 wrapAndThrowExceptionOrError(e.getCause(), exceptionClass); in getChecked() 73 Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X { in getChecked() argument 75 bestGetCheckedTypeValidator().validateClass(exceptionClass); in getChecked() 80 throw newWithCause(exceptionClass, e); in getChecked() 82 throw newWithCause(exceptionClass, e); in getChecked() [all …]
|
D | Futures.java | 1199 Future<V> future, Class<X> exceptionClass) throws X { 1200 return FuturesGetChecked.getChecked(future, exceptionClass); 1252 Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X { 1253 return FuturesGetChecked.getChecked(future, exceptionClass, timeout, unit);
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | FuturesGetChecked.java | 48 Future<V> future, Class<X> exceptionClass) throws X { in getChecked() argument 49 return getChecked(bestGetCheckedTypeValidator(), future, exceptionClass); in getChecked() 57 GetCheckedTypeValidator validator, Future<V> future, Class<X> exceptionClass) throws X { in getChecked() argument 58 validator.validateClass(exceptionClass); in getChecked() 63 throw newWithCause(exceptionClass, e); in getChecked() 65 wrapAndThrowExceptionOrError(e.getCause(), exceptionClass); in getChecked() 74 Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X { in getChecked() argument 76 bestGetCheckedTypeValidator().validateClass(exceptionClass); in getChecked() 81 throw newWithCause(exceptionClass, e); in getChecked() 83 throw newWithCause(exceptionClass, e); in getChecked() [all …]
|
D | Futures.java | 1232 Future<V> future, Class<X> exceptionClass) throws X { 1233 return FuturesGetChecked.getChecked(future, exceptionClass); 1284 Future<V> future, Class<X> exceptionClass, Duration timeout) throws X { 1285 return getChecked(future, exceptionClass, toNanosSaturated(timeout), TimeUnit.NANOSECONDS); 1337 Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X { 1338 return FuturesGetChecked.getChecked(future, exceptionClass, timeout, unit);
|
/external/icu/android_icu4j/libcore_bridge/src/native/ |
D | IcuUtilities.cpp | 30 const char* exceptionClass = "java/lang/RuntimeException"; in maybeThrowIcuException() local 32 exceptionClass = "java/lang/IllegalArgumentException"; in maybeThrowIcuException() 34 exceptionClass = "java/lang/ArrayIndexOutOfBoundsException"; in maybeThrowIcuException() 36 exceptionClass = "java/lang/UnsupportedOperationException"; in maybeThrowIcuException() 38 exceptionClass = "java/lang/ArithmeticException"; in maybeThrowIcuException() 40 jniThrowExceptionFmt(env, exceptionClass, "%s failed: %s", function, u_errorName(error)); in maybeThrowIcuException()
|
D | com_android_icu_util_regex_PatternNative.cpp | 69 jclass exceptionClass = JniConstants::GetPatternSyntaxExceptionClass(env); in throwPatternSyntaxException() local 70 jobject exception = env->NewObject(exceptionClass, method, message, pattern, error.offset); in throwPatternSyntaxException()
|
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
D | FuturesGetCheckedBenchmark.java | 122 for (Class<? extends Exception> exceptionClass : in addOtherEntries() 124 getChecked(validator, immediateFuture(""), exceptionClass); in addOtherEntries() 164 public void validateClass(Class<? extends Exception> exceptionClass) { in validateClass() argument 166 isCheckedException(exceptionClass), in validateClass() 168 exceptionClass); in validateClass() local 180 public void validateClass(Class<? extends Exception> exceptionClass) { in validateClass() argument 181 checkExceptionClassValidity(exceptionClass); in validateClass()
|
/external/guava/android/guava-tests/benchmark/com/google/common/util/concurrent/ |
D | FuturesGetCheckedBenchmark.java | 120 for (Class<? extends Exception> exceptionClass : in addOtherEntries() 122 getChecked(validator, immediateFuture(""), exceptionClass); in addOtherEntries() 162 public void validateClass(Class<? extends Exception> exceptionClass) { in validateClass() argument 164 isCheckedException(exceptionClass), in validateClass() 166 exceptionClass); in validateClass() local 178 public void validateClass(Class<? extends Exception> exceptionClass) { in validateClass() argument 179 checkExceptionClassValidity(exceptionClass); in validateClass()
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | JSR166TestCase.java | 736 final Class<?> exceptionClass; field in JSR166TestCase.RunnableShouldThrow 738 <T extends Throwable> RunnableShouldThrow(Class<T> exceptionClass) { in RunnableShouldThrow() argument 739 this.exceptionClass = exceptionClass; in RunnableShouldThrow() 745 threadShouldThrow(exceptionClass.getSimpleName()); in run() 747 if (!exceptionClass.isInstance(t)) threadUnexpectedException(t); in run() 755 final Class<?> exceptionClass; field in JSR166TestCase.ThreadShouldThrow 757 <T extends Throwable> ThreadShouldThrow(Class<T> exceptionClass) { in ThreadShouldThrow() argument 758 this.exceptionClass = exceptionClass; in ThreadShouldThrow() 764 threadShouldThrow(exceptionClass.getSimpleName()); in run() 766 if (!exceptionClass.isInstance(t)) threadUnexpectedException(t); in run()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | JSR166TestCase.java | 744 final Class<?> exceptionClass; field in JSR166TestCase.RunnableShouldThrow 746 <T extends Throwable> RunnableShouldThrow(Class<T> exceptionClass) { in RunnableShouldThrow() argument 747 this.exceptionClass = exceptionClass; in RunnableShouldThrow() 754 threadShouldThrow(exceptionClass.getSimpleName()); in run() 756 if (!exceptionClass.isInstance(t)) threadUnexpectedException(t); in run() 764 final Class<?> exceptionClass; field in JSR166TestCase.ThreadShouldThrow 766 <T extends Throwable> ThreadShouldThrow(Class<T> exceptionClass) { in ThreadShouldThrow() argument 767 this.exceptionClass = exceptionClass; in ThreadShouldThrow() 774 threadShouldThrow(exceptionClass.getSimpleName()); in run() 776 if (!exceptionClass.isInstance(t)) threadUnexpectedException(t); in run()
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | SmaliClassTest.java | 137 PsiClass exceptionClass = exceptionType.resolve(); in testIsInheritor() local 138 Assert.assertNotNull(exceptionClass); in testIsInheritor() 144 Assert.assertTrue(smaliClass.isInheritor(exceptionClass, true)); in testIsInheritor() 148 Assert.assertTrue(smaliClass.isInheritorDeep(exceptionClass, null)); in testIsInheritor() 152 Assert.assertTrue(smaliClass.isInheritor(exceptionClass, false)); in testIsInheritor()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowMemoryMappedFile.java | 35 throw (Throwable) exceptionClass().getConstructor(String.class, int.class) in mmapRO() 44 … throw (Throwable) exceptionClass().getConstructor(String.class, int.class, Throwable.class) in mmapRO() 52 private static Class exceptionClass() { in exceptionClass() method in ShadowMemoryMappedFile
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowMemoryMappedFile.java | 36 exceptionClass().getConstructor(String.class, int.class).newInstance("open", -1); in mmapRO() 45 exceptionClass() in mmapRO() 54 private static Class exceptionClass() { in exceptionClass() method in ShadowMemoryMappedFile
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
D | TryWithResourcesRewriter.java | 292 InferredType exceptionClass = typeInference.getTypeOfOperandFromTop(1); in visitMethodInsn() local 293 if (!exceptionClass.isNull()) { in visitMethodInsn() 294 Optional<String> exceptionClassInternalName = exceptionClass.getInternalName(); in visitMethodInsn() 298 exceptionClass, in visitMethodInsn() local
|
/external/clang/test/SemaObjC/ |
D | builtin_objc_lib_functions.m | 26 int f6(Class exceptionClass, id exception) { 27 …return objc_exception_match(exceptionClass, exception); // expected-warning {{implicitly declaring…
|
/external/compiler-rt/lib/builtins/ |
D | gcc_personality_v0.c | 168 uint64_t exceptionClass, struct _Unwind_Exception* exceptionObject, in __gcc_personality_sj0() argument 178 uint64_t exceptionClass, struct _Unwind_Exception* exceptionObject, in __gcc_personality_sj0()
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | jniutil.cc | 199 jclass exceptionClass = env->FindClass(className); in throwException() local 201 if (exceptionClass == nullptr) { in throwException() 207 if (env->ThrowNew(exceptionClass, msg) != JNI_OK) { in throwException() 213 env->DeleteLocalRef(exceptionClass); in throwException()
|
/external/llvm/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 555 uint64_t exceptionClass, in handleActionValue() argument 561 (exceptionClass != ourBaseExceptionClass)) in handleActionValue() 648 uint64_t exceptionClass, in handleLsda() argument 714 if (exceptionClass != ourBaseExceptionClass) { in handleLsda() 753 exceptionClass, in handleLsda() 831 uint64_t exceptionClass, in ourPersonality() argument 859 exceptionClass, in ourPersonality()
|
/external/oj-libjdwp/src/share/back/ |
D | eventFilter.h | 53 jclass exceptionClass,
|
D | eventFilter.c | 828 jclass exceptionClass, in eventFilter_setExceptionOnlyFilter() argument 842 if (exceptionClass != NULL) { in eventFilter_setExceptionOnlyFilter() 845 saveGlobalRef(env, exceptionClass, &(filter->exception)); in eventFilter_setExceptionOnlyFilter()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/ |
D | NativeCryptoArgTest.java | 227 private void testMethods(MethodFilter filter, Class<? extends Throwable> exceptionClass) in testMethods() argument 234 invokeAndExpect(exceptionClass, method, args); in testMethods()
|
/external/conscrypt/common/src/test/java/org/conscrypt/ |
D | NativeCryptoArgTest.java | 223 private void testMethods(MethodFilter filter, Class<? extends Throwable> exceptionClass) in testMethods() argument 230 invokeAndExpect(exceptionClass, method, args); in testMethods()
|
/external/robolectric/shadowapi/src/main/java/org/robolectric/util/ |
D | ReflectionHelpers.java | 435 Class<?> targetClass, Class<? extends E> exceptionClass, InsideTraversal<R> insideTraversal) 442 if (!exceptionClass.isInstance(e)) {
|
/external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/util/ |
D | ReflectionHelpers.java | 395 …n> R traverseClassHierarchy(Class<?> targetClass, Class<? extends E> exceptionClass, InsideTravers… 401 if (!exceptionClass.isInstance(e)) {
|
/external/libcxxabi/src/ |
D | cxa_personality.cpp | 957 (int version, _Unwind_Action actions, uint64_t exceptionClass, in __gxx_personality_imp() argument 963 bool native_exception = (exceptionClass & get_vendor_and_language) == in __gxx_personality_imp()
|