Lines Matching refs:referrer

45 static void AddReferrerLocation(std::ostream& os, ObjPtr<mirror::Class> referrer)  in AddReferrerLocation()  argument
47 if (referrer != nullptr) { in AddReferrerLocation()
48 std::string location(referrer->GetLocation()); in AddReferrerLocation()
50 os << " (declaration of '" << referrer->PrettyDescriptor() in AddReferrerLocation()
62 ObjPtr<mirror::Class> referrer, in ThrowException() argument
74 AddReferrerLocation(msg, referrer); in ThrowException()
80 ObjPtr<mirror::Class> referrer, in ThrowWrappedException() argument
92 AddReferrerLocation(msg, referrer); in ThrowWrappedException()
182 void ThrowClassFormatError(ObjPtr<mirror::Class> referrer, const char* fmt, ...) { in ThrowClassFormatError() argument
185 ThrowException("Ljava/lang/ClassFormatError;", referrer, fmt, &args); in ThrowClassFormatError()
191 void ThrowIllegalAccessErrorClass(ObjPtr<mirror::Class> referrer, ObjPtr<mirror::Class> accessed) { in ThrowIllegalAccessErrorClass() argument
193 msg << "Illegal class access: '" << mirror::Class::PrettyDescriptor(referrer) in ThrowIllegalAccessErrorClass()
195 ThrowException("Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); in ThrowIllegalAccessErrorClass()
198 void ThrowIllegalAccessErrorClassForMethodDispatch(ObjPtr<mirror::Class> referrer, in ThrowIllegalAccessErrorClassForMethodDispatch() argument
203 msg << "Illegal class access ('" << mirror::Class::PrettyDescriptor(referrer) in ThrowIllegalAccessErrorClassForMethodDispatch()
207 ThrowException("Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); in ThrowIllegalAccessErrorClassForMethodDispatch()
210 void ThrowIllegalAccessErrorMethod(ObjPtr<mirror::Class> referrer, ArtMethod* accessed) { in ThrowIllegalAccessErrorMethod() argument
213 << mirror::Class::PrettyDescriptor(referrer) << "'"; in ThrowIllegalAccessErrorMethod()
214 ThrowException("Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); in ThrowIllegalAccessErrorMethod()
217 void ThrowIllegalAccessErrorField(ObjPtr<mirror::Class> referrer, ArtField* accessed) { in ThrowIllegalAccessErrorField() argument
220 << mirror::Class::PrettyDescriptor(referrer) << "'"; in ThrowIllegalAccessErrorField()
221 ThrowException("Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); in ThrowIllegalAccessErrorField()
224 void ThrowIllegalAccessErrorFinalField(ArtMethod* referrer, ArtField* accessed) { in ThrowIllegalAccessErrorFinalField() argument
227 << "' cannot be written to by method '" << ArtMethod::PrettyMethod(referrer) << "'"; in ThrowIllegalAccessErrorFinalField()
229 referrer != nullptr ? referrer->GetDeclaringClass() : nullptr, in ThrowIllegalAccessErrorFinalField()
233 void ThrowIllegalAccessError(ObjPtr<mirror::Class> referrer, const char* fmt, ...) { in ThrowIllegalAccessError() argument
236 ThrowException("Ljava/lang/IllegalAccessError;", referrer, fmt, &args); in ThrowIllegalAccessError()
261 ArtMethod* method, ArtMethod* referrer) { in ThrowIncompatibleClassChangeError() argument
266 referrer != nullptr ? referrer->GetDeclaringClass() : nullptr, in ThrowIncompatibleClassChangeError()
273 ArtMethod* referrer) { in ThrowIncompatibleClassChangeErrorClassForInterfaceSuper() argument
284 referrer != nullptr ? referrer->GetDeclaringClass() : nullptr, in ThrowIncompatibleClassChangeErrorClassForInterfaceSuper()
290 ArtMethod* referrer) { in ThrowIncompatibleClassChangeErrorClassForInterfaceDispatch() argument
301 referrer != nullptr ? referrer->GetDeclaringClass() : nullptr, in ThrowIncompatibleClassChangeErrorClassForInterfaceDispatch()
306 ArtMethod* referrer) { in ThrowIncompatibleClassChangeErrorField() argument
311 ThrowException("Ljava/lang/IncompatibleClassChangeError;", referrer->GetDeclaringClass(), in ThrowIncompatibleClassChangeErrorField()
315 void ThrowIncompatibleClassChangeError(ObjPtr<mirror::Class> referrer, const char* fmt, ...) { in ThrowIncompatibleClassChangeError() argument
318 ThrowException("Ljava/lang/IncompatibleClassChangeError;", referrer, fmt, &args); in ThrowIncompatibleClassChangeError()
364 void ThrowLinkageError(ObjPtr<mirror::Class> referrer, const char* fmt, ...) { in ThrowLinkageError() argument
367 ThrowException("Ljava/lang/LinkageError;", referrer, fmt, &args); in ThrowLinkageError()
371 void ThrowWrappedLinkageError(ObjPtr<mirror::Class> referrer, const char* fmt, ...) { in ThrowWrappedLinkageError() argument
374 ThrowWrappedException("Ljava/lang/LinkageError;", referrer, fmt, &args); in ThrowWrappedLinkageError()
883 void ThrowVerifyError(ObjPtr<mirror::Class> referrer, const char* fmt, ...) { in ThrowVerifyError() argument
886 ThrowException("Ljava/lang/VerifyError;", referrer, fmt, &args); in ThrowVerifyError()