Index: runtime/vm/exceptions.cc |
diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc |
index 85f58857f1135b53ec6d027afec6ceee72fdec96..ad8eab99b931efb6100f8ee06403cbcb10822ffa 100644 |
--- a/runtime/vm/exceptions.cc |
+++ b/runtime/vm/exceptions.cc |
@@ -414,6 +414,10 @@ RawObject* Exceptions::Create(ExceptionType type, const Array& arguments) { |
library = Library::CoreLibrary(); |
class_name = &Symbols::FormatException(); |
break; |
+ case kUnsupported: |
+ library = Library::CoreLibrary(); |
+ class_name = &Symbols::UnsupportedError(); |
+ break; |
case kStackOverflow: |
library = Library::CoreLibrary(); |
class_name = &Symbols::StackOverflowError(); |