Index: runtime/vm/exceptions.cc |
diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc |
index 9f79640fdb7f666cfabc87d16e176b2aa9142578..de44cf021f1bcb8fe8d957f462ee08b3ac0d7075 100644 |
--- a/runtime/vm/exceptions.cc |
+++ b/runtime/vm/exceptions.cc |
@@ -598,6 +598,11 @@ RawObject* Exceptions::Create(ExceptionType type, const Array& arguments) { |
library = Library::CoreLibrary(); |
class_name = &Symbols::ArgumentError(); |
break; |
+ case kArgumentValue: |
+ library = Library::CoreLibrary(); |
+ class_name = &Symbols::ArgumentError(); |
+ constructor_name = &Symbols::DotValue(); |
+ break; |
case kNoSuchMethod: |
library = Library::CoreLibrary(); |
class_name = &Symbols::NoSuchMethodError(); |