Home
last modified time | relevance | path

Searched refs:exc (Results 1 – 14 of 14) sorted by relevance

/art/test/088-monitor-verification/src/
DMain.java265 } catch (Throwable exc) { in runTest()
267 System.out.println("Did not expect exception " + exc + " for " + className); in runTest()
268 exc.printStackTrace(System.out); in runTest()
269 } else if (exc instanceof InvocationTargetException && exc.getCause() != null && in runTest()
270 exc.getCause().getClass().equals(excType)) { in runTest()
272 } else if (!excType.equals(exc.getClass())) { in runTest()
273 System.out.println("Expected " + excType.getName() + ", but got " + exc.getClass()); in runTest()
/art/test/570-checker-osr/src/
DDeoptimizationController.java55 } catch (Exception exc) { in startDeoptimization()
56 exc.printStackTrace(System.out); in startDeoptimization()
70 } catch (Exception exc) { in stopDeoptimization()
71 exc.printStackTrace(System.out); in stopDeoptimization()
/art/test/802-deoptimization/src/
DDeoptimizationController.java52 } catch (Exception exc) { in startDeoptimization()
53 exc.printStackTrace(System.out); in startDeoptimization()
67 } catch (Exception exc) { in stopDeoptimization()
68 exc.printStackTrace(System.out); in stopDeoptimization()
/art/test/132-daemon-locks-shutdown/src/
DMain.java46 } catch (Exception exc) { in run()
47 exc.printStackTrace(System.out); in run()
/art/test/1932-monitor-events-misc/
Dmonitor_misc.cc52 ScopedLocalRef<jobject> exc(env, env->ExceptionOccurred()); in Java_art_Test1932_doNativeLockPrint() local
54 env->CallStaticVoidMethod(klass, print_state, lock, exc.get(), res); in Java_art_Test1932_doNativeLockPrint()
/art/test/138-duplicate-classes-check/src-art/
DMain.java44 } catch (Exception exc) { in run()
45 exc.printStackTrace(System.out); in run()
/art/test/130-hprof/src/
DMain.java75 } catch (Exception exc) { in createDumpAndConv()
76 throw new RuntimeException(exc); in createDumpAndConv()
198 } catch (Exception exc) { in createDump()
199 exc.printStackTrace(System.out); in createDump()
236 } catch (Exception exc) { in getDumpFile()
244 } catch (Exception exc) { in getConvFile()
/art/test/800-smali/src/
DMain.java205 } catch (Exception exc) { in runTests()
206 exc.printStackTrace(System.out); in runTests()
259 } catch (Throwable exc) { in runTest()
261 errorReturn = new IllegalStateException("Did not expect exception", exc); in runTest()
262 } else if (exc instanceof InvocationTargetException && exc.getCause() != null && in runTest()
263 exc.getCause().getClass().equals(tc.expectedException.getClass())) { in runTest()
265 } else if (!tc.expectedException.getClass().equals(exc.getClass())) { in runTest()
268 ", but got " + exc.getClass(), exc); in runTest()
/art/test/044-proxy/src/
DNativeProxy.java47 } catch (Exception exc) { in main()
48 throw new RuntimeException(exc); in main()
/art/runtime/
Dcommon_throws.cc776 ScopedLocalRef<jobject> exc(env, in ThrowStackOverflowError() local
778 if (exc == nullptr) { in ThrowStackOverflowError()
803 env->SetObjectField(exc.get(), WellKnownClasses::java_lang_Throwable_detailMessage, s.get()); in ThrowStackOverflowError()
806 env->SetObjectField(exc.get(), WellKnownClasses::java_lang_Throwable_cause, exc.get()); in ThrowStackOverflowError()
813 env->SetObjectField(exc.get(), in ThrowStackOverflowError()
825 env->SetObjectField(exc.get(), in ThrowStackOverflowError()
833 env->SetObjectField(exc.get(), in ThrowStackOverflowError()
842 self->SetException(self->DecodeJObject(exc.get())->AsThrowable()); in ThrowStackOverflowError()
/art/tools/jvmti-agents/simple-force-redefine/
Dforceredefine.cc173 ScopedLocalRef<jthrowable> exc(env, env->ExceptionOccurred()); in FindClass() local
197 if (res == nullptr && exc.get() != nullptr) { in FindClass()
198 env->Throw(exc.get()); in FindClass()
/art/test/046-reflect/
Dexpected.txt44 got expected illegal obj store exc
45 got the other expected access exc
46 got expected arg exc
/art/test/ti-agent/
Dtrace_helper.cc32 ScopedLocalRef<jthrowable> exc(env, env->ExceptionOccurred()); in IsInCallback() local
35 if (exc.get() != nullptr) { in IsInCallback()
36 env->Throw(exc.get()); in IsInCallback()
46 ScopedLocalRef<jthrowable> exc(env, env->ExceptionOccurred()); in SetInCallback() local
50 if (exc.get() != nullptr) { in SetInCallback()
51 env->Throw(exc.get()); in SetInCallback()
/art/openjdkjvmti/
Dti_thread.cc1088 art::Handle<art::mirror::Throwable> exc(hs.NewHandle(obj->AsThrowable())); in StopThread() local
1114 StopThreadClosure c(exc); in StopThread()