Home
last modified time | relevance | path

Searched refs:exceptionClass (Results 1 – 23 of 23) sorted by relevance

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DJSR166TestCase.java815 final Class<?> exceptionClass; field in JSR166TestCase.RunnableShouldThrow
817 <T extends Throwable> RunnableShouldThrow(Class<T> exceptionClass) { in RunnableShouldThrow() argument
818 this.exceptionClass = exceptionClass; in RunnableShouldThrow()
824 threadShouldThrow(exceptionClass.getSimpleName()); in run()
826 if (! exceptionClass.isInstance(t)) in run()
835 final Class<?> exceptionClass; field in JSR166TestCase.ThreadShouldThrow
837 <T extends Throwable> ThreadShouldThrow(Class<T> exceptionClass) { in ThreadShouldThrow() argument
838 this.exceptionClass = exceptionClass; in ThreadShouldThrow()
844 threadShouldThrow(exceptionClass.getSimpleName()); in run()
846 if (! exceptionClass.isInstance(t)) in run()
/external/guava/guava/src/com/google/common/util/concurrent/
DFutures.java1373 Future<V> future, Class<X> exceptionClass) throws X {
1375 checkArgument(!RuntimeException.class.isAssignableFrom(exceptionClass),
1377 exceptionClass);
1382 throw newWithCause(exceptionClass, e);
1384 wrapAndThrowExceptionOrError(e.getCause(), exceptionClass);
1438 Future<V> future, long timeout, TimeUnit unit, Class<X> exceptionClass)
1442 checkArgument(!RuntimeException.class.isAssignableFrom(exceptionClass),
1444 exceptionClass);
1449 throw newWithCause(exceptionClass, e);
1451 throw newWithCause(exceptionClass, e);
[all …]
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliClassTest.java137 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/
DShadowMemoryMappedFile.java35 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/desugar/java/com/google/devtools/build/android/desugar/
DTryWithResourcesRewriter.java292 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/conscrypt/common/src/jni/main/cpp/conscrypt/
Djniutil.cc126 jclass exceptionClass = env->FindClass(className); in throwException() local
128 if (exceptionClass == nullptr) { in throwException()
134 if (env->ThrowNew(exceptionClass, msg) != JNI_OK) { in throwException()
140 env->DeleteLocalRef(exceptionClass); in throwException()
/external/clang/test/SemaObjC/
Dbuiltin_objc_lib_functions.m26 int f6(Class exceptionClass, id exception) {
27 …return objc_exception_match(exceptionClass, exception); // expected-warning {{implicitly declaring…
/external/compiler-rt/lib/builtins/
Dgcc_personality_v0.c168 uint64_t exceptionClass, struct _Unwind_Exception* exceptionObject, in __gcc_personality_sj0() argument
178 uint64_t exceptionClass, struct _Unwind_Exception* exceptionObject, in __gcc_personality_sj0()
DREADME.txt217 uint64_t exceptionClass, struct _Unwind_Exception* exceptionObject,
/external/swiftshader/third_party/llvm-7.0/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp506 uint64_t exceptionClass, in handleActionValue() argument
512 (exceptionClass != ourBaseExceptionClass)) in handleActionValue()
598 _Unwind_Exception_Class exceptionClass, in handleLsda() argument
664 if (exceptionClass != ourBaseExceptionClass) { in handleLsda()
703 exceptionClass, in handleLsda()
780 _Unwind_Exception_Class exceptionClass, in ourPersonality() argument
808 exceptionClass, in ourPersonality()
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp555 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/libunwind_llvm/include/
Dunwind.h148 uint64_t exceptionClass,
156 uint64_t exceptionClass,
/external/swiftshader/third_party/LLVM/examples/ExceptionDemo/
DExceptionDemo.cpp535 uint64_t exceptionClass, in handleActionValue() argument
541 (exceptionClass != ourBaseExceptionClass)) in handleActionValue()
622 uint64_t exceptionClass, in handleLsda() argument
690 if (exceptionClass != ourBaseExceptionClass) { in handleLsda()
729 exceptionClass, in handleLsda()
807 uint64_t exceptionClass, in ourPersonality() argument
835 exceptionClass, in ourPersonality()
/external/oj-libjdwp/src/share/back/
DeventFilter.h53 jclass exceptionClass,
DeventFilter.c828 jclass exceptionClass, in eventFilter_setExceptionOnlyFilter() argument
842 if (exceptionClass != NULL) { in eventFilter_setExceptionOnlyFilter()
845 saveGlobalRef(env, exceptionClass, &(filter->exception)); in eventFilter_setExceptionOnlyFilter()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DAbstractIteratorTester.java120 PermittedMetaException(Class<? extends RuntimeException> exceptionClass) { in PermittedMetaException() argument
121 this(Collections.singleton(exceptionClass)); in PermittedMetaException()
/external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/util/
DReflectionHelpers.java395 …n> R traverseClassHierarchy(Class<?> targetClass, Class<? extends E> exceptionClass, InsideTravers…
401 if (!exceptionClass.isInstance(e)) {
/external/libcxxabi/src/
Dcxa_personality.cpp957 (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()
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/jni/staticjvmtiagent/
Dagent.cc638 jclass exceptionClass = env->FindClass("java/lang/RuntimeException"); in throwRuntimeExpection() local
639 env->ThrowNew(exceptionClass, msgBuf); in throwRuntimeExpection()
/external/doclava/src/com/google/doclava/
DMethodInfo.java762 ClassInfo exceptionClass = new ClassInfo(exec); in addException() local
764 mThrownExceptions.add(exceptionClass); in addException()
/external/dexmaker/dexmaker-mockito-inline/src/main/jni/dexmakerjvmtiagent/
Dagent.cc839 jclass exceptionClass = env->FindClass("java/lang/RuntimeException"); in throwRuntimeExpection() local
840 env->ThrowNew(exceptionClass, msgBuf); in throwRuntimeExpection()
/external/libjpeg-turbo/
Dturbojpeg-jni.c48 #define THROW(msg, exceptionClass) { \ argument
49 jclass _exccls = (*env)->FindClass(env, exceptionClass); \
/external/clang/include/clang/Basic/
DBuiltins.def875 // int objc_exception_match(Class exceptionClass, id exception)