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/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/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/130-hprof/src/
DMain.java75 } catch (Exception exc) { in createDumpAndConv()
76 throw new RuntimeException(exc); in createDumpAndConv()
139 } catch (Exception exc) { in createDump()
140 exc.printStackTrace(System.out); in createDump()
178 } catch (Exception exc) { in getDumpFile()
186 } catch (Exception exc) { in getConvFile()
/art/test/800-smali/src/
DMain.java190 } catch (Exception exc) { in runTests()
191 exc.printStackTrace(System.out); in runTests()
240 } catch (Throwable exc) { in runTest()
242 errorReturn = new IllegalStateException("Did not expect exception", exc); in runTest()
243 } else if (exc instanceof InvocationTargetException && exc.getCause() != null && in runTest()
244 exc.getCause().getClass().equals(tc.expectedException.getClass())) { in runTest()
246 } else if (!tc.expectedException.getClass().equals(exc.getClass())) { in runTest()
249 ", 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/137-cfi/src/
DMain.java125 } catch (Exception exc) { in exec()
126 throw new RuntimeException(exc); in exec()
147 } catch (Exception exc) { in getCmdLine()
148 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.cc577 ScopedLocalRef<jobject> exc(env, in ThrowStackOverflowError() local
579 if (exc.get() != nullptr) { in ThrowStackOverflowError()
596 env->SetObjectField(exc.get(), WellKnownClasses::java_lang_Throwable_detailMessage, s.get()); in ThrowStackOverflowError()
599 env->SetObjectField(exc.get(), WellKnownClasses::java_lang_Throwable_cause, exc.get()); in ThrowStackOverflowError()
606 env->SetObjectField(exc.get(), in ThrowStackOverflowError()
618 env->SetObjectField(exc.get(), in ThrowStackOverflowError()
626 env->SetObjectField(exc.get(), in ThrowStackOverflowError()
633 self->SetException(reinterpret_cast<mirror::Throwable*>(self->DecodeJObject(exc.get()))); in ThrowStackOverflowError()
Dthread.cc1496 Handle<mirror::Throwable> exc; in DumpJavaStack() local
1499 exc = scope.NewHandle(GetException()); in DumpJavaStack()
1510 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.cc922 mirror::Throwable* exc = soa.Self()->GetException(); in VisitMethod() local
923 std::string dump = exc->Dump(); in VisitMethod()