Home
last modified time | relevance | path

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

/art/test/088-monitor-verification/src/
DMain.java269 } catch (Throwable exc) { in runTest()
271 System.out.println("Did not expect exception " + exc + " for " + className); in runTest()
272 exc.printStackTrace(System.out); in runTest()
273 } else if (exc instanceof InvocationTargetException && exc.getCause() != null && in runTest()
274 exc.getCause().getClass().equals(excType)) { in runTest()
276 } else if (!excType.equals(exc.getClass())) { in runTest()
277 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/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/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/800-smali/src/
DMain.java217 } catch (Exception exc) { in runTests()
218 exc.printStackTrace(System.out); in runTests()
271 } catch (Throwable exc) { in runTest()
273 errorReturn = new IllegalStateException("Did not expect exception", exc); in runTest()
274 } else if (exc instanceof InvocationTargetException && exc.getCause() != null && in runTest()
275 exc.getCause().getClass().equals(tc.expectedException.getClass())) { in runTest()
277 } else if (!tc.expectedException.getClass().equals(exc.getClass())) { in runTest()
280 ", but got " + exc.getClass(), exc); in runTest()
/art/test/138-duplicate-classes-check/src-art/
DMain.java43 } catch (Exception exc) { in run()
44 exc.printStackTrace(System.out); in run()
/art/test/044-proxy/src/
DNativeProxy.java47 } catch (Exception exc) { in main()
48 throw new RuntimeException(exc); in main()
/art/runtime/
Dcommon_throws.cc721 Handle<mirror::Object> exc = hs.NewHandle( in ThrowStackOverflowError() local
723 if (exc == nullptr) { in ThrowStackOverflowError()
748 ->SetObject</*kTransactionActive=*/ false>(exc.Get(), s); in ThrowStackOverflowError()
753 ->SetObject</*kTransactionActive=*/ false>(exc.Get(), exc.Get()); in ThrowStackOverflowError()
763 ->SetObject</*kTransactionActive=*/ false>(exc.Get(), empty_list); in ThrowStackOverflowError()
772 ->SetObject</*kTransactionActive=*/ false>(exc.Get(), stack_state_val); in ThrowStackOverflowError()
781 ->SetObject</*kTransactionActive=*/ false>(exc.Get(), empty_ste); in ThrowStackOverflowError()
788 self->SetException(exc->AsThrowable()); in ThrowStackOverflowError()
/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/tools/jvmti-agents/simple-force-redefine/
Dforceredefine.cc171 ScopedLocalRef<jthrowable> exc(env, env->ExceptionOccurred()); in FindClass() local
195 if (res == nullptr && exc.get() != nullptr) { in FindClass()
196 env->Throw(exc.get()); in FindClass()
/art/test/046-reflect/
Dexpected-stdout.txt44 got expected illegal obj store exc
45 got the other expected access exc
46 got expected arg exc
/art/openjdkjvmti/
Dti_thread.cc1104 art::Handle<art::mirror::Throwable> exc(hs.NewHandle(obj->AsThrowable())); in StopThread() local
1130 StopThreadClosure c(exc); in StopThread()