Lines Matching refs:referrer

36 static void AddReferrerLocation(std::ostream& os, mirror::Class* referrer)  in AddReferrerLocation()  argument
38 if (referrer != nullptr) { in AddReferrerLocation()
39 std::string location(referrer->GetLocation()); in AddReferrerLocation()
41 os << " (declaration of '" << PrettyDescriptor(referrer) in AddReferrerLocation()
48 mirror::Class* referrer, const char* fmt, va_list* args = nullptr) in ThrowException() argument
58 AddReferrerLocation(msg, referrer); in ThrowException()
64 mirror::Class* referrer, const char* fmt, va_list* args = nullptr) in ThrowWrappedException() argument
74 AddReferrerLocation(msg, referrer); in ThrowWrappedException()
132 void ThrowClassFormatError(mirror::Class* referrer, const char* fmt, ...) { in ThrowClassFormatError() argument
135 ThrowException("Ljava/lang/ClassFormatError;", referrer, fmt, &args); in ThrowClassFormatError()
140 void ThrowIllegalAccessErrorClass(mirror::Class* referrer, mirror::Class* accessed) { in ThrowIllegalAccessErrorClass() argument
142 msg << "Illegal class access: '" << PrettyDescriptor(referrer) << "' attempting to access '" in ThrowIllegalAccessErrorClass()
144 ThrowException("Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); in ThrowIllegalAccessErrorClass()
147 void ThrowIllegalAccessErrorClassForMethodDispatch(mirror::Class* referrer, mirror::Class* accessed, in ThrowIllegalAccessErrorClassForMethodDispatch() argument
151 msg << "Illegal class access ('" << PrettyDescriptor(referrer) << "' attempting to access '" in ThrowIllegalAccessErrorClassForMethodDispatch()
154 ThrowException("Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); in ThrowIllegalAccessErrorClassForMethodDispatch()
157 void ThrowIllegalAccessErrorMethod(mirror::Class* referrer, ArtMethod* accessed) { in ThrowIllegalAccessErrorMethod() argument
160 << PrettyDescriptor(referrer) << "'"; in ThrowIllegalAccessErrorMethod()
161 ThrowException("Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); in ThrowIllegalAccessErrorMethod()
164 void ThrowIllegalAccessErrorField(mirror::Class* referrer, ArtField* accessed) { in ThrowIllegalAccessErrorField() argument
167 << PrettyDescriptor(referrer) << "'"; in ThrowIllegalAccessErrorField()
168 ThrowException("Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); in ThrowIllegalAccessErrorField()
171 void ThrowIllegalAccessErrorFinalField(ArtMethod* referrer, ArtField* accessed) { in ThrowIllegalAccessErrorFinalField() argument
174 << PrettyMethod(referrer) << "'"; in ThrowIllegalAccessErrorFinalField()
176 referrer != nullptr ? referrer->GetDeclaringClass() : nullptr, in ThrowIllegalAccessErrorFinalField()
180 void ThrowIllegalAccessError(mirror::Class* referrer, const char* fmt, ...) { in ThrowIllegalAccessError() argument
183 ThrowException("Ljava/lang/IllegalAccessError;", referrer, fmt, &args); in ThrowIllegalAccessError()
203 ArtMethod* method, ArtMethod* referrer) { in ThrowIncompatibleClassChangeError() argument
208 referrer != nullptr ? referrer->GetDeclaringClass() : nullptr, in ThrowIncompatibleClassChangeError()
214 ArtMethod* referrer) { in ThrowIncompatibleClassChangeErrorClassForInterfaceDispatch() argument
224 referrer != nullptr ? referrer->GetDeclaringClass() : nullptr, in ThrowIncompatibleClassChangeErrorClassForInterfaceDispatch()
229 ArtMethod* referrer) { in ThrowIncompatibleClassChangeErrorField() argument
234 ThrowException("Ljava/lang/IncompatibleClassChangeError;", referrer->GetDeclaringClass(), in ThrowIncompatibleClassChangeErrorField()
238 void ThrowIncompatibleClassChangeError(mirror::Class* referrer, const char* fmt, ...) { in ThrowIncompatibleClassChangeError() argument
241 ThrowException("Ljava/lang/IncompatibleClassChangeError;", referrer, fmt, &args); in ThrowIncompatibleClassChangeError()
263 void ThrowLinkageError(mirror::Class* referrer, const char* fmt, ...) { in ThrowLinkageError() argument
266 ThrowException("Ljava/lang/LinkageError;", referrer, fmt, &args); in ThrowLinkageError()
270 void ThrowWrappedLinkageError(mirror::Class* referrer, const char* fmt, ...) { in ThrowWrappedLinkageError() argument
273 ThrowWrappedException("Ljava/lang/LinkageError;", referrer, fmt, &args); in ThrowWrappedLinkageError()
518 void ThrowVerifyError(mirror::Class* referrer, const char* fmt, ...) { in ThrowVerifyError() argument
521 ThrowException("Ljava/lang/VerifyError;", referrer, fmt, &args); in ThrowVerifyError()