Lines Matching refs:msg

49   std::ostringstream msg;  in ThrowException()  local
53 msg << vmsg; in ThrowException()
55 msg << fmt; in ThrowException()
57 AddReferrerLocation(msg, referrer); in ThrowException()
61 self->ThrowNewException(computed_throw_location, exception_descriptor, msg.str().c_str()); in ThrowException()
63 self->ThrowNewException(*throw_location, exception_descriptor, msg.str().c_str()); in ThrowException()
71 std::ostringstream msg; in ThrowWrappedException() local
75 msg << vmsg; in ThrowWrappedException()
77 msg << fmt; in ThrowWrappedException()
79 AddReferrerLocation(msg, referrer); in ThrowWrappedException()
83 … self->ThrowNewWrappedException(computed_throw_location, exception_descriptor, msg.str().c_str()); in ThrowWrappedException()
85 self->ThrowNewWrappedException(*throw_location, exception_descriptor, msg.str().c_str()); in ThrowWrappedException()
128 void ThrowClassCastException(const ThrowLocation* throw_location, const char* msg) { in ThrowClassCastException() argument
129 ThrowException(throw_location, "Ljava/lang/ClassCastException;", NULL, msg); in ThrowClassCastException()
135 std::ostringstream msg; in ThrowClassCircularityError() local
136 msg << PrettyDescriptor(c); in ThrowClassCircularityError()
137 ThrowException(NULL, "Ljava/lang/ClassCircularityError;", c, msg.str().c_str()); in ThrowClassCircularityError()
151 std::ostringstream msg; in ThrowIllegalAccessErrorClass() local
152 msg << "Illegal class access: '" << PrettyDescriptor(referrer) << "' attempting to access '" in ThrowIllegalAccessErrorClass()
154 ThrowException(NULL, "Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); in ThrowIllegalAccessErrorClass()
160 std::ostringstream msg; in ThrowIllegalAccessErrorClassForMethodDispatch() local
161 msg << "Illegal class access ('" << PrettyDescriptor(referrer) << "' attempting to access '" in ThrowIllegalAccessErrorClassForMethodDispatch()
164 ThrowException(NULL, "Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); in ThrowIllegalAccessErrorClassForMethodDispatch()
168 std::ostringstream msg; in ThrowIllegalAccessErrorMethod() local
169 msg << "Method '" << PrettyMethod(accessed) << "' is inaccessible to class '" in ThrowIllegalAccessErrorMethod()
171 ThrowException(NULL, "Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); in ThrowIllegalAccessErrorMethod()
175 std::ostringstream msg; in ThrowIllegalAccessErrorField() local
176 msg << "Field '" << PrettyField(accessed, false) << "' is inaccessible to class '" in ThrowIllegalAccessErrorField()
178 ThrowException(NULL, "Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); in ThrowIllegalAccessErrorField()
183 std::ostringstream msg; in ThrowIllegalAccessErrorFinalField() local
184 msg << "Final field '" << PrettyField(accessed, false) << "' cannot be written to by method '" in ThrowIllegalAccessErrorFinalField()
188 msg.str().c_str()); in ThrowIllegalAccessErrorFinalField()
200 void ThrowIllegalAccessException(const ThrowLocation* throw_location, const char* msg) { in ThrowIllegalAccessException() argument
201 ThrowException(throw_location, "Ljava/lang/IllegalAccessException;", NULL, msg); in ThrowIllegalAccessException()
206 void ThrowIllegalArgumentException(const ThrowLocation* throw_location, const char* msg) { in ThrowIllegalArgumentException() argument
207 ThrowException(throw_location, "Ljava/lang/IllegalArgumentException;", NULL, msg); in ThrowIllegalArgumentException()
216 std::ostringstream msg; in ThrowIncompatibleClassChangeError() local
217 msg << "The method '" << PrettyMethod(method) << "' was expected to be of type " in ThrowIncompatibleClassChangeError()
221 msg.str().c_str()); in ThrowIncompatibleClassChangeError()
230 std::ostringstream msg; in ThrowIncompatibleClassChangeErrorClassForInterfaceDispatch() local
231 msg << "Class '" << PrettyDescriptor(this_object->GetClass()) in ThrowIncompatibleClassChangeErrorClassForInterfaceDispatch()
237 msg.str().c_str()); in ThrowIncompatibleClassChangeErrorClassForInterfaceDispatch()
242 std::ostringstream msg; in ThrowIncompatibleClassChangeErrorField() local
243 msg << "Expected '" << PrettyField(resolved_field) << "' to be a " in ThrowIncompatibleClassChangeErrorField()
247 msg.str().c_str()); in ThrowIncompatibleClassChangeErrorField()
289 void ThrowNegativeArraySizeException(const char* msg) { in ThrowNegativeArraySizeException() argument
290 ThrowException(NULL, "Ljava/lang/NegativeArraySizeException;", NULL, msg); in ThrowNegativeArraySizeException()
298 std::ostringstream msg; in ThrowNoSuchFieldError() local
300 msg << "No " << scope << "field " << name << " of type " << type in ThrowNoSuchFieldError()
302 ThrowException(NULL, "Ljava/lang/NoSuchFieldError;", c, msg.str().c_str()); in ThrowNoSuchFieldError()
309 std::ostringstream msg; in ThrowNoSuchMethodError() local
311 msg << "No " << type << " method " << name << signature in ThrowNoSuchMethodError()
313 ThrowException(NULL, "Ljava/lang/NoSuchMethodError;", c, msg.str().c_str()); in ThrowNoSuchMethodError()
321 std::ostringstream msg; in ThrowNoSuchMethodError() local
322 msg << "No method '" << PrettyMethod(method_idx, dex_file, true) << "'"; in ThrowNoSuchMethodError()
324 throw_location.GetMethod()->GetDeclaringClass(), msg.str().c_str()); in ThrowNoSuchMethodError()
331 std::ostringstream msg; in ThrowNullPointerExceptionForFieldAccess() local
332 msg << "Attempt to " << (is_read ? "read from" : "write to") in ThrowNullPointerExceptionForFieldAccess()
334 ThrowException(&throw_location, "Ljava/lang/NullPointerException;", NULL, msg.str().c_str()); in ThrowNullPointerExceptionForFieldAccess()
342 std::ostringstream msg; in ThrowNullPointerExceptionForMethodAccessImpl() local
343 msg << "Attempt to invoke " << type << " method '" in ThrowNullPointerExceptionForMethodAccessImpl()
345 ThrowException(&throw_location, "Ljava/lang/NullPointerException;", NULL, msg.str().c_str()); in ThrowNullPointerExceptionForMethodAccessImpl()
506 void ThrowNullPointerException(const ThrowLocation* throw_location, const char* msg) { in ThrowNullPointerException() argument
507 ThrowException(throw_location, "Ljava/lang/NullPointerException;", NULL, msg); in ThrowNullPointerException()