Index: runtime/lib/string.cc |
diff --git a/runtime/lib/string.cc b/runtime/lib/string.cc |
index ae13fd63e8c1d9b479f554b56ef68d64c02f4535..76c097abc54cdf991dc46ceba8ff8400caf2ceef 100644 |
--- a/runtime/lib/string.cc |
+++ b/runtime/lib/string.cc |
@@ -146,7 +146,7 @@ DEFINE_NATIVE_ENTRY(Strings_concatAll, 1) { |
elem ^= strings.At(i); |
if (elem.IsNull()) { |
GrowableArray<const Object*> args; |
- Exceptions::ThrowByType(Exceptions::kNullThrown, args); |
+ Exceptions::ThrowByType(Exceptions::kNullPointer, args); |
} |
if (!elem.IsString()) { |
GrowableArray<const Object*> args; |