Home
last modified time | relevance | path

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

/art/test/088-monitor-verification/src/
DMain.java254 } catch (Throwable exc) { in runTest()
256 System.out.println("Did not expect exception " + exc + " for " + className); in runTest()
257 exc.printStackTrace(System.out); in runTest()
258 } else if (exc instanceof InvocationTargetException && exc.getCause() != null && in runTest()
259 exc.getCause().getClass().equals(excType)) { in runTest()
261 } else if (!excType.equals(exc.getClass())) { in runTest()
262 System.out.println("Expected " + excType.getName() + ", but got " + exc.getClass()); in runTest()
/art/test/802-deoptimization/src/
DDeoptimizationController.java52 } catch (Exception exc) { in startDeoptimization()
53 exc.printStackTrace(System.err); in startDeoptimization()
67 } catch (Exception exc) { in stopDeoptimization()
68 exc.printStackTrace(System.err); in stopDeoptimization()
/art/test/570-checker-osr/src/
DDeoptimizationController.java55 } catch (Exception exc) { in startDeoptimization()
56 exc.printStackTrace(System.err); in startDeoptimization()
70 } catch (Exception exc) { in stopDeoptimization()
71 exc.printStackTrace(System.err); in stopDeoptimization()
/art/test/800-smali/src/
DMain.java192 } catch (Exception exc) { in runTests()
193 exc.printStackTrace(System.out); in runTests()
242 } catch (Throwable exc) { in runTest()
244 errorReturn = new IllegalStateException("Did not expect exception", exc); in runTest()
245 } else if (exc instanceof InvocationTargetException && exc.getCause() != null && in runTest()
246 exc.getCause().getClass().equals(tc.expectedException.getClass())) { in runTest()
248 } else if (!tc.expectedException.getClass().equals(exc.getClass())) { in runTest()
251 ", but got " + exc.getClass(), exc); in runTest()
/art/test/138-duplicate-classes-check2/src/
DMain.java39 } catch (Exception exc) { in run()
40 exc.printStackTrace(); in run()
/art/test/132-daemon-locks-shutdown/src/
DMain.java46 } catch (Exception exc) { in run()
47 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/137-cfi/src/
DMain.java146 } catch (Exception exc) { in exec()
147 throw new RuntimeException(exc); in exec()
168 } catch (Exception exc) { in getCmdLine()
169 throw new RuntimeException(exc); in getCmdLine()
/art/test/138-duplicate-classes-check/src/
DMain.java44 } catch (Exception exc) { in run()
45 exc.printStackTrace(); 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.cc753 ScopedLocalRef<jobject> exc(env, in ThrowStackOverflowError() local
755 if (exc.get() != nullptr) { in ThrowStackOverflowError()
772 env->SetObjectField(exc.get(), WellKnownClasses::java_lang_Throwable_detailMessage, s.get()); in ThrowStackOverflowError()
775 env->SetObjectField(exc.get(), WellKnownClasses::java_lang_Throwable_cause, exc.get()); in ThrowStackOverflowError()
782 env->SetObjectField(exc.get(), in ThrowStackOverflowError()
794 env->SetObjectField(exc.get(), in ThrowStackOverflowError()
802 env->SetObjectField(exc.get(), in ThrowStackOverflowError()
809 self->SetException(self->DecodeJObject(exc.get())->AsThrowable()); in ThrowStackOverflowError()
Dthread.cc1831 Handle<mirror::Throwable> exc; in DumpJavaStack() local
1834 exc = scope.NewHandle(GetException()); in DumpJavaStack()
1845 const_cast<Thread*>(this)->SetException(exc.Get()); in DumpJavaStack()
/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/compiler/
Doat_writer.cc1126 mirror::Throwable* exc = soa.Self()->GetException(); in VisitMethod() local
1127 std::string dump = exc->Dump(); in VisitMethod()