diff options
Diffstat (limited to 'runtime/common_throws.cc')
| -rw-r--r-- | runtime/common_throws.cc | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/common_throws.cc b/runtime/common_throws.cc index f8e32c41bf..75cce424e9 100644 --- a/runtime/common_throws.cc +++ b/runtime/common_throws.cc @@ -137,6 +137,13 @@ void ThrowClassCircularityError(mirror::Class* c) {    ThrowException("Ljava/lang/ClassCircularityError;", c, msg.str().c_str());  } +void ThrowClassCircularityError(mirror::Class* c, const char* fmt, ...) { +  va_list args; +  va_start(args, fmt); +  ThrowException("Ljava/lang/ClassCircularityError;", c, fmt, &args); +  va_end(args); +} +  // ClassFormatError  void ThrowClassFormatError(mirror::Class* referrer, const char* fmt, ...) {  |