/art/runtime/ |
H A D | common_throws.cc | 48 static void ThrowException(const ThrowLocation* throw_location, const char* exception_descriptor, 61 if (throw_location == NULL) { 65 self->ThrowNewException(*throw_location, exception_descriptor, msg.str().c_str()); 109 void ThrowClassCastException(const ThrowLocation* throw_location, const char* msg) { argument 110 ThrowException(throw_location, "Ljava/lang/ClassCastException;", NULL, msg); 182 void ThrowIllegalArgumentException(const ThrowLocation* throw_location, const char* msg) { argument 183 ThrowException(throw_location, "Ljava/lang/IllegalArgumentException;", NULL, msg); 278 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 279 mirror::DexCache* dex_cache = throw_location.GetMethod()->GetDeclaringClass()->GetDexCache(); 283 ThrowException(&throw_location, "Ljav 289 ThrowNullPointerExceptionForFieldAccess(const ThrowLocation& throw_location, mirror::ArtField* field, bool is_read) argument 308 ThrowNullPointerExceptionForMethodAccess(const ThrowLocation& throw_location, uint32_t method_idx, InvokeType type) argument 317 ThrowNullPointerExceptionForMethodAccess(const ThrowLocation& throw_location, mirror::ArtMethod* method, InvokeType type) argument 326 ThrowNullPointerExceptionFromDexPC(const ThrowLocation& throw_location) argument 466 ThrowNullPointerException(const ThrowLocation* throw_location, const char* msg) argument [all...] |
H A D | common_throws.h | 62 void ThrowClassCastException(const ThrowLocation* throw_location, const char* msg) 98 void ThrowIllegalArgumentException(const ThrowLocation* throw_location, const char* msg) 151 void ThrowNullPointerExceptionForFieldAccess(const ThrowLocation& throw_location, 156 void ThrowNullPointerExceptionForMethodAccess(const ThrowLocation& throw_location, 161 void ThrowNullPointerExceptionForMethodAccess(const ThrowLocation& throw_location, 166 void ThrowNullPointerExceptionFromDexPC(const ThrowLocation& throw_location) 169 void ThrowNullPointerException(const ThrowLocation* throw_location, const char* msg)
|
H A D | reflection.h | 42 bool UnboxPrimitiveForResult(const ThrowLocation& throw_location, mirror::Object* o, 46 bool ConvertPrimitiveValue(const ThrowLocation* throw_location, bool unbox_for_result,
|
H A D | reflection.cc | 121 bool ConvertPrimitiveValue(const ThrowLocation* throw_location, bool unbox_for_result, argument 200 ThrowIllegalArgumentException(throw_location, 205 ThrowClassCastException(throw_location, 281 static bool UnboxPrimitive(const ThrowLocation* throw_location, mirror::Object* o, 289 ThrowIllegalArgumentException(throw_location, 295 ThrowClassCastException(throw_location, 306 ThrowIllegalArgumentException(throw_location, 313 ThrowIllegalArgumentException(throw_location, 318 ThrowNullPointerException(throw_location, 355 ThrowIllegalArgumentException(throw_location, 380 UnboxPrimitiveForResult(const ThrowLocation& throw_location, mirror::Object* o, mirror::Class* dst_class, JValue& unboxed_value) argument [all...] |
H A D | thread.h | 42 #include "throw_location.h" 292 mirror::Throwable* GetException(ThrowLocation* throw_location) const 294 if (throw_location != NULL) { 295 *throw_location = throw_location_; 302 void SetException(const ThrowLocation& throw_location, mirror::Throwable* new_exception) 307 throw_location_ = throw_location; 344 void ThrowNewException(const ThrowLocation& throw_location, 350 void ThrowNewWrappedException(const ThrowLocation& throw_location, 355 void ThrowNewExceptionF(const ThrowLocation& throw_location, 360 void ThrowNewExceptionV(const ThrowLocation& throw_location, [all...] |
H A D | thread.cc | 1468 void Thread::ThrowNewExceptionF(const ThrowLocation& throw_location, argument 1472 ThrowNewExceptionV(throw_location, exception_class_descriptor, 1477 void Thread::ThrowNewExceptionV(const ThrowLocation& throw_location, argument 1482 ThrowNewException(throw_location, exception_class_descriptor, msg.c_str()); 1485 void Thread::ThrowNewException(const ThrowLocation& throw_location, const char* exception_class_descriptor, argument 1488 ThrowNewWrappedException(throw_location, exception_class_descriptor, msg); 1491 void Thread::ThrowNewWrappedException(const ThrowLocation& throw_location, argument 1496 SirtRef<mirror::Object> saved_throw_this(this, throw_location.GetThis()); 1497 SirtRef<mirror::ArtMethod> saved_throw_method(this, throw_location.GetMethod()); 1504 if (throw_location 1586 ThrowLocation throw_location = GetCurrentLocationForThrow(); local 1926 ThrowLocation throw_location; local [all...] |
H A D | instrumentation.h | 72 virtual void ExceptionCaught(Thread* thread, const ThrowLocation& throw_location, 187 void ExceptionCaughtEvent(Thread* thread, const ThrowLocation& throw_location,
|
H A D | trace.h | 87 virtual void ExceptionCaught(Thread* thread, const ThrowLocation& throw_location,
|
H A D | monitor.cc | 258 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 259 self->ThrowNewExceptionV(throw_location, "Ljava/lang/IllegalMonitorStateException;", fmt, args); 416 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 417 self->ThrowNewExceptionF(throw_location, "Ljava/lang/IllegalArgumentException;", 523 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 524 self->ThrowNewException(throw_location, "Ljava/lang/InterruptedException;", NULL);
|
H A D | instrumentation.cc | 455 void Instrumentation::ExceptionCaughtEvent(Thread* thread, const ThrowLocation& throw_location, argument 463 listener->ExceptionCaught(thread, throw_location, catch_method, catch_dex_pc, exception_object); 465 thread->SetException(throw_location, exception_object);
|
H A D | jni_internal.cc | 221 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local 222 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/NoSuchMethodError;", 302 ThrowLocation throw_location; local 303 SirtRef<Throwable> cause(soa.Self(), soa.Self()->GetException(&throw_location)); 305 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/NoSuchFieldError;", 318 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local 319 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/NoSuchFieldError;", 345 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local 346 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayIndexOutOfBoundsException;", 354 ThrowLocation throw_location local 397 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local 750 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local 3271 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local [all...] |
H A D | runtime.cc | 166 ThrowLocation throw_location; local 167 mirror::Throwable* exception = self->GetException(&throw_location); 169 << " thrown by '" << throw_location.Dump() << "'\n"
|
/art/runtime/entrypoints/portable/ |
H A D | portable_throw_entrypoints.cc | 43 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 44 ThrowNullPointerExceptionFromDexPC(throw_location); 54 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 58 self->SetException(throw_location, exception); 75 ThrowLocation throw_location; local 76 mirror::Throwable* exception = self->GetException(&throw_location); 116 throw_location,
|
H A D | portable_fillarray_entrypoints.cc | 40 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 41 self->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayIndexOutOfBoundsException;",
|
/art/runtime/entrypoints/quick/ |
H A D | quick_throw_entrypoints.cc | 45 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 47 self->ThrowNewException(throw_location, "Ljava/lang/NullPointerException;", 50 self->SetException(throw_location, exception); 60 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 61 ThrowNullPointerExceptionFromDexPC(throw_location);
|
H A D | quick_fillarray_entrypoints.cc | 52 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 53 self->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayIndexOutOfBoundsException;",
|
H A D | quick_field_entrypoints.cc | 94 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 95 ThrowNullPointerExceptionForFieldAccess(throw_location, field, true); 117 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 118 ThrowNullPointerExceptionForFieldAccess(throw_location, field, true); 141 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 142 ThrowNullPointerExceptionForFieldAccess(throw_location, field, true); 223 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 224 ThrowNullPointerExceptionForFieldAccess(throw_location, field, false); 251 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 252 ThrowNullPointerExceptionForFieldAccess(throw_location, fiel 277 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local [all...] |
/art/runtime/native/ |
H A D | java_lang_System.cc | 176 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 177 self->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayStoreException;", 212 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local 213 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayIndexOutOfBoundsException;", 225 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local 226 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayStoreException;", 311 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local 312 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayStoreException;",
|
H A D | java_lang_reflect_Constructor.cc | 45 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local 46 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/InstantiationException;",
|
H A D | dalvik_system_DexFile.cc | 102 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local 103 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/io/IOException;", 118 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local 119 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/io/IOException;", 208 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local 209 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/io/FileNotFoundException;",
|
H A D | java_lang_Class.cc | 56 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local 57 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/ClassNotFoundException;",
|
H A D | dalvik_system_VMDebug.cc | 77 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local 78 soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/RuntimeException;", 131 ThrowLocation throw_location = soa.Self()->GetCurrentLocationForThrow(); local 132 soa.Self()->ThrowNewException(throw_location, "Ljava/lang/UnsupportedOperationException;", NULL);
|
/art/runtime/entrypoints/ |
H A D | entrypoint_utils.cc | 57 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 58 DCHECK(throw_location.GetMethod() == referrer); 59 self->ThrowNewExceptionF(throw_location, "Ljava/lang/InternalError;", 133 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 134 DCHECK(throw_location.GetMethod() == referrer); 135 self->ThrowNewExceptionF(throw_location, "Ljava/lang/NoSuchFieldError;", 174 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 175 DCHECK(referrer == throw_location.GetMethod()); 176 ThrowNullPointerExceptionForMethodAccess(throw_location, method_idx, type); 362 ThrowLocation throw_location(rcv [all...] |
H A D | entrypoint_utils.h | 60 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 61 self->ThrowNewException(throw_location, "Ljava/lang/InstantiationError;",
|
/art/runtime/mirror/ |
H A D | string.cc | 107 ThrowLocation throw_location = self->GetCurrentLocationForThrow(); local 108 self->ThrowNewExceptionF(throw_location, "Ljava/lang/StringIndexOutOfBoundsException;",
|