Home
last modified time | relevance | path

Searched refs:Throwable (Results 1 – 25 of 213) sorted by relevance

123456789

/art/runtime/mirror/
Dthrowable.cc41 void Throwable::SetDetailMessage(ObjPtr<String> new_detail_message) { in SetDetailMessage()
43 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(Throwable, detail_message_), new_detail_message); in SetDetailMessage()
45 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(Throwable, detail_message_), in SetDetailMessage()
50 void Throwable::SetCause(ObjPtr<Throwable> cause) { in SetCause()
53 ObjPtr<Throwable> current_cause = in SetCause()
54 GetFieldObject<Throwable>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_)); in SetCause()
57 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); in SetCause()
59 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); in SetCause()
63 void Throwable::SetStackState(ObjPtr<Object> state) REQUIRES_SHARED(Locks::mutator_lock_) { in SetStackState()
66 SetFieldObjectVolatile<true>(OFFSET_OF_OBJECT_MEMBER(Throwable, backtrace_), state); in SetStackState()
[all …]
Dthrowable.h32 class MANAGED Throwable : public Object {
43 void SetCause(ObjPtr<Throwable> cause) REQUIRES_SHARED(Locks::mutator_lock_);
56 HeapReference<Throwable> cause_;
62 DISALLOW_IMPLICIT_CONSTRUCTORS(Throwable);
/art/test/807-method-handle-and-mr/src/
DMain.java31 Test() throws Throwable { in Test()
44 } catch (Throwable t) { in execute()
52 void executeFor(long timeMinimumMillis) throws Throwable { in executeFor()
61 void exercise() throws Throwable { in exercise()
67 void run() throws Throwable { in run()
84 public static void main(String[] args) throws Throwable { in main()
/art/test/1934-jvmti-signal-thread/src/art/
DTest1934.java79 final Throwable[] out_err = new Throwable[] { null, }; in testStopBeforeStart()
98 final Throwable[] out_err = new Throwable[] { null, }; in testInterruptBeforeStart()
117 final Throwable[] out_err = new Throwable[] { null, }; in testStopWait()
144 final Throwable[] out_err = new Throwable[] { null, }; in testInterruptWait()
176 final Throwable[] out_err = new Throwable[] { null, }; in testStopInNative()
219 final Throwable[] out_err = new Throwable[] { null, }; in testStopRecur()
240 final Throwable[] out_err = new Throwable[] { null, }; in testInterruptRecur()
263 final Throwable[] out_err = new Throwable[] { null, }; in testStopSpinning()
/art/test/Transaction/
DTransaction.java57 } catch (Throwable e) {
68 } catch (Throwable e) {
79 public void finalize() throws Throwable { in finalize()
/art/test/173-missing-field-type/src-art/
DMain.java20 public static void main(String[] args) throws Throwable { in main()
32 public static void testStoreObject(Class<?> c, String methodName) throws Throwable{ in testStoreObject()
38 Throwable e = expected.getCause(); in testStoreObject()
/art/test/1929-exception-catch-exception/src/art/
DTest1929.java47 Executable m, long loc, Throwable exception); in exceptionOccurred()
61 Thread thr, Executable method, long location, Throwable exception) { in ExceptionCatchEvent()
77 public BaseTestException(String e, Throwable t) { super(e, t); } in BaseTestException()
81 public TestException(String e, Throwable t) { super(e, t); } in TestException()
86 public TestExceptionNoRethrow(String e, Throwable t) { super(e, t); } in TestExceptionNoRethrow()
90 public void exceptionOccurred(Executable m, long loc, Throwable exception) { in exceptionOccurred()
97 public void exceptionOccurred(Executable m, long loc, Throwable exception) { in exceptionOccurred()
111 public void exceptionOccurred(Executable m, long loc, Throwable exception) { in exceptionOccurred()
119 public void exceptionOccurred(Executable m, long loc, Throwable exception) { in exceptionOccurred()
270 Throwable.class)); in run()
[all …]
/art/test/044-proxy/src/
DWrappedThrow.java49 } catch (Throwable t) { in main()
58 } catch (Throwable t) { in main()
67 } catch (Throwable t) { in main()
79 } catch (Throwable t) { in main()
88 } catch (Throwable t) { in main()
97 } catch (Throwable t) { in main()
106 } catch (Throwable t) { in main()
119 } catch (Throwable t) { in main()
189 throws Throwable { in invoke()
/art/test/1928-exception-event-exception/src/art/
DTest1928.java30 Executable m, long loc, Throwable exception, Executable catch_m, long catch_l); in exceptionOccurred()
46 Throwable exception, in ExceptionEvent()
73 public BaseTestException(String e, Throwable t) { super(e, t); } in BaseTestException()
77 public TestException(String e, Throwable t) { super(e, t); } in TestException()
82 public TestExceptionNoRethrow(String e, Throwable t) { super(e, t); } in TestExceptionNoRethrow()
87 Executable m, long loc, Throwable exception, Executable catch_m, long catch_l) { in exceptionOccurred()
95 Executable m, long loc, Throwable exception, Executable catch_m, long catch_l) { in exceptionOccurred()
172 Throwable.class, in run()
199 } catch (Throwable e) { in run()
/art/test/952-invoke-custom/src/
DMain.java23 private static void TestUninitializedCallSite() throws Throwable { in TestUninitializedCallSite()
41 private static void TestLinkerMethodMultipleArgumentTypes() throws Throwable { in TestLinkerMethodMultipleArgumentTypes()
47 private static void TestLinkerMethodWithRange() throws Throwable { in TestLinkerMethodWithRange()
62 private static void TestLinkerMethodMinimalArguments() throws Throwable { in TestLinkerMethodMinimalArguments()
92 public static void main(String[] args) throws Throwable { in main()
DTestInvocationKinds.java30 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupStaticFieldGetter()
52 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupStaticFieldSetter()
76 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupInstanceFieldSetter()
99 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupInstanceFieldGetter()
143 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupVirtual()
181 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupConstructor()
/art/test/959-invoke-polymorphic-accessors/src/
DMain.java76 public static void fail() throws Throwable{ in fail()
102 throws Throwable { in setByte()
118 static void setByte(MethodHandle m, byte value, boolean expectFailure) throws Throwable { in setByte()
123 throws Throwable { in getByte()
140 static void getByte(MethodHandle m, byte value, boolean expectFailure) throws Throwable { in getByte()
145 throws Throwable { in setChar()
161 static void setChar(MethodHandle m, char value, boolean expectFailure) throws Throwable { in setChar()
166 throws Throwable { in getChar()
183 static void getChar(MethodHandle m, char value, boolean expectFailure) throws Throwable { in getChar()
188 throws Throwable { in setShort()
[all …]
/art/test/1981-structural-redef-private-method-handles/src/art/
DTest1981_Varhandles.java32 throws Throwable { in findStaticVarHandle()
36 public Object get(Object vh) throws Throwable { in get()
40 public void set(Object vh, Object v) throws Throwable { in set()
/art/test/008-exceptions/src/
DMain.java157 } catch (Throwable t) { in exceptionsForSuperClassInitFailure()
177 } catch (Throwable t) { in exceptionsForSuperClassInitFailure()
188 } catch (Throwable t) { in exceptionsInMultiDex()
202 } catch (Throwable t) { in exceptionsInMultiDex()
211 } catch (Throwable t) { in exceptionsInMultiDex()
/art/test/434-invoke-direct/src/
DMain.java22 public static void main(String[] args) throws Throwable { in main()
26 private static void $opt$InvokeDirect() throws Throwable { in $opt$InvokeDirect()
/art/runtime/native/
Djava_lang_Throwable.cc42 FAST_NATIVE_METHOD(Throwable, nativeFillInStackTrace, "()Ljava/lang/Object;"),
43 …FAST_NATIVE_METHOD(Throwable, nativeGetStackTrace, "(Ljava/lang/Object;)[Ljava/lang/StackTraceElem…
/art/test/802-deoptimization/src/
DMain.java23 public static void main(String[] args) throws Throwable { in main()
31 private static void testCatchHandlerOnEntryWithoutMoveException() throws Throwable { in testCatchHandlerOnEntryWithoutMoveException()
/art/test/953-invoke-polymorphic-compiler/src/
DMain.java113 public static void $opt$BasicTest() throws Throwable { in $opt$BasicTest()
226 public static void $opt$ReturnBooleanTest() throws Throwable { in $opt$ReturnBooleanTest()
254 public static void $opt$ReturnCharTest() throws Throwable { in $opt$ReturnCharTest()
263 public static void $opt$ReturnByteTest() throws Throwable { in $opt$ReturnByteTest()
272 public static void $opt$ReturnShortTest() throws Throwable { in $opt$ReturnShortTest()
281 public static void $opt$ReturnIntTest() throws Throwable { in $opt$ReturnIntTest()
290 public static void $opt$ReturnLongTest() throws Throwable { in $opt$ReturnLongTest()
299 public static void $opt$ReturnFloatTest() throws Throwable { in $opt$ReturnFloatTest()
308 public static void $opt$ReturnDoubleTest() throws Throwable { in $opt$ReturnDoubleTest()
317 public static void $opt$ReturnStringTest() throws Throwable { in $opt$ReturnStringTest()
[all …]
/art/test/647-jni-get-field-id/src/
DMain.java43 } catch (Throwable t) { in main()
71 } catch (Throwable t) { in testGetFieldId()
73 for (Throwable cause = t.getCause(); cause != null; cause = cause.getCause()) { in testGetFieldId()
79 public static String DescribeThrowable(Throwable t) { in DescribeThrowable()
/art/test/161-final-abstract-class/smali/
DMain.smali15 # } catch (Throwable t) {
32 # } catch (Throwable t) {
70 .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_c} :catch_d
81 invoke-virtual {p0, v0}, Ljava/lang/Throwable;->printStackTrace(Ljava/io/PrintStream;)V
128 .catch Ljava/lang/Throwable; {:try_start_16 .. :try_end_32} :catch_33
139 invoke-virtual {p0, v0}, Ljava/lang/Throwable;->printStackTrace(Ljava/io/PrintStream;)V
148 …invoke-virtual {p0}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable;
164 …invoke-virtual {p0}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable;
182 …invoke-virtual {p0}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable;
186 invoke-virtual {p0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
/art/test/162-method-resolution/src/
DMain.java44 } catch (Throwable t) { in main()
411 } catch (Throwable t) { in invokeUserTest()
413 for (Throwable c = t.getCause(); c != null; c = c.getCause()) { in invokeUserTest()
/art/test/586-checker-null-array-get/src/
DMain.java35 public static void $noinline$runSmaliTest(String name) throws Throwable { in $noinline$runSmaliTest()
65 } catch (Throwable t) { in main()
73 } catch (Throwable t) { in main()
/art/test/435-new-instance/src/
DMain.java22 public static void main(String[] args) throws Throwable { in main()
33 private static void $opt$NewInstance(String method, String errorName) throws Throwable { in $opt$NewInstance()
/art/test/1950-unprepared-transform/src/
DMain.java67 } catch (Throwable e) { in doClassLoad()
87 public static void testCurrentThread() throws Throwable { in testCurrentThread()
99 public static void testRemoteThread() throws Throwable { in testRemoteThread()
147 } catch (Throwable e) { in main()
/art/test/995-breakpoints-throw/src/art/
DTest995.java41 } catch (Throwable t) { in breakpointCatchLate()
49 } catch (Throwable t) { in breakpointCatch()
109 } catch (Throwable t) {
124 } catch (Throwable e) {

123456789