Home
last modified time | relevance | path

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

123

/art/runtime/mirror/
Dthrowable.cc33 GcRoot<Class> Throwable::java_lang_Throwable_;
35 void Throwable::SetDetailMessage(String* new_detail_message) { in SetDetailMessage()
37 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(Throwable, detail_message_), new_detail_message); in SetDetailMessage()
39 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(Throwable, detail_message_), in SetDetailMessage()
44 void Throwable::SetCause(Throwable* cause) { in SetCause()
47 Throwable* current_cause = GetFieldObject<Throwable>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_)); in SetCause()
50 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); in SetCause()
52 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); in SetCause()
56 void Throwable::SetStackState(Object* state) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in SetStackState()
59 SetFieldObjectVolatile<true>(OFFSET_OF_OBJECT_MEMBER(Throwable, stack_state_), state); in SetStackState()
[all …]
Dthrowable.h32 class MANAGED Throwable : public Object {
37 return GetFieldObject<String>(OFFSET_OF_OBJECT_MEMBER(Throwable, detail_message_)); in GetDetailMessage()
45 void SetCause(Throwable* cause) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
61 return GetFieldObjectVolatile<Object>(OFFSET_OF_OBJECT_MEMBER(Throwable, stack_state_)); in GetStackState()
64 return GetFieldObjectVolatile<Object>(OFFSET_OF_OBJECT_MEMBER(Throwable, stack_trace_)); in GetStackTrace()
68 HeapReference<Throwable> cause_;
77 DISALLOW_IMPLICIT_CONSTRUCTORS(Throwable);
/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()
DFloatSelect.java29 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { in invoke()
DClash2.java56 throws Throwable { in invoke()
DClash.java66 throws Throwable { in invoke()
DClash4.java73 throws Throwable { in invoke()
DClash3.java71 throws Throwable { in invoke()
DNarrowingTest.java38 Object[] args) throws Throwable { in main()
/art/runtime/native/
Djava_lang_Throwable.cc37 NATIVE_METHOD(Throwable, nativeFillInStackTrace, "!()Ljava/lang/Object;"),
38 …NATIVE_METHOD(Throwable, nativeGetStackTrace, "!(Ljava/lang/Object;)[Ljava/lang/StackTraceElement;…
/art/runtime/entrypoints/portable/
Dportable_throw_entrypoints.cc51 extern "C" void art_portable_throw_exception_from_code(mirror::Throwable* exception) in art_portable_throw_exception_from_code()
66 mirror::Throwable* exception = self->GetException(NULL); in art_portable_get_and_clear_exception()
76 mirror::Throwable* exception = self->GetException(&throw_location); in art_portable_find_catch_block_from_code()
/art/runtime/
Dquick_exception_handler.h28 class Throwable; variable
45 void FindCatch(const ThrowLocation& throw_location, mirror::Throwable* exception,
Druntime.h55 class Throwable; variable
254 mirror::Throwable* GetPreAllocatedOutOfMemoryError() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
256 mirror::Throwable* GetPreAllocatedNoClassDefFoundError()
522 GcRoot<mirror::Throwable> pre_allocated_OutOfMemoryError_;
523 GcRoot<mirror::Throwable> pre_allocated_NoClassDefFoundError_;
Dquick_exception_handler.cc45 CatchBlockStackVisitor(Thread* self, Context* context, Handle<mirror::Throwable>* exception, in CatchBlockStackVisitor()
109 Handle<mirror::Throwable>* exception_;
117 mirror::Throwable* exception, in FindCatch()
127 Handle<mirror::Throwable> exception_ref(hs.NewHandle(exception)); in FindCatch()
Dthread.h64 class Throwable; variable
317 mirror::Throwable* GetException(ThrowLocation* throw_location) const in GetException()
328 void SetException(const ThrowLocation& throw_location, mirror::Throwable* new_exception) in SetException()
715 static mirror::Throwable* GetDeoptimizationException() { in GetDeoptimizationException()
716 return reinterpret_cast<mirror::Throwable*>(-1); in GetDeoptimizationException()
1039 mirror::Throwable* exception;
Druntime.cc249 mirror::Throwable* exception = self->GetException(&throw_location); in DumpThread()
863 pre_allocated_OutOfMemoryError_ = GcRoot<mirror::Throwable>(self->GetException(NULL)); in Init()
870 pre_allocated_NoClassDefFoundError_ = GcRoot<mirror::Throwable>(self->GetException(NULL)); in Init()
1112 mirror::Throwable* Runtime::GetPreAllocatedOutOfMemoryError() { in GetPreAllocatedOutOfMemoryError()
1113 mirror::Throwable* oome = pre_allocated_OutOfMemoryError_.Read(); in GetPreAllocatedOutOfMemoryError()
1120 mirror::Throwable* Runtime::GetPreAllocatedNoClassDefFoundError() { in GetPreAllocatedNoClassDefFoundError()
1121 mirror::Throwable* ncdfe = pre_allocated_NoClassDefFoundError_.Read(); in GetPreAllocatedNoClassDefFoundError()
1137 mirror::Throwable::VisitRoots(callback, arg); in VisitConstantRoots()
/art/test/086-null-super/src/
DMain.java29 public TestFailed(Throwable cause) { in TestFailed()
156 Throwable cause = ite.getCause(); in testFailLoadAndGc()
/art/test/087-gc-after-link/src/
DMain.java29 public TestFailed(Throwable cause) { in TestFailed()
165 Throwable cause = ite.getCause(); in testFailLoadAndGc()
/art/test/050-sync-test/src/
DThreadDeathHandler.java29 public void uncaughtException(Thread t, Throwable e) { in uncaughtException()
/art/test/054-uncaught/src/
DThreadDeathHandler.java29 public void uncaughtException(Thread t, Throwable e) { in uncaughtException()
/art/test/111-unresolvable-exception/src/
DMain.java21 } catch (Throwable t) { // Should catch the NoClassDefFoundError in main()
/art/test/059-finalizer-throw/src/
DMain.java63 protected void finalize() throws Throwable { in finalize()
/art/test/003-omnibus-opcodes/src/
DMain.java67 } catch (Throwable th) { in run()
/art/test/068-classloader/src/
DMain.java104 Throwable cause = cnfe.getCause(); in testAccess2()
124 Throwable cause = cnfe.getCause(); in testAccess3()
DFancyLoader.java169 } catch (Throwable th) { in findClassNonDalvik()

123