| Index: runtime/vm/exceptions.h
|
| diff --git a/runtime/vm/exceptions.h b/runtime/vm/exceptions.h
|
| index e0a64c86f9d2efea5294a0d01467c41b7375b4ea..e85f100bc479e92fe649fd6743dcfa4273cf043b 100644
|
| --- a/runtime/vm/exceptions.h
|
| +++ b/runtime/vm/exceptions.h
|
| @@ -15,6 +15,7 @@ class AbstractType;
|
| class Array;
|
| class DartFrameIterator;
|
| class Error;
|
| +class LanguageError;
|
| class Instance;
|
| class Integer;
|
| class RawInstance;
|
| @@ -60,6 +61,7 @@ class Exceptions : AllStatic {
|
| kFallThrough,
|
| kAbstractClassInstantiation,
|
| kCyclicInitializationError,
|
| + kCompileTimeError,
|
| };
|
|
|
| static void ThrowByType(ExceptionType type, const Array& arguments);
|
| @@ -72,6 +74,7 @@ class Exceptions : AllStatic {
|
| const Integer& argument_value,
|
| intptr_t expected_from,
|
| intptr_t expected_to);
|
| + static void ThrowCompileTimeError(const LanguageError& error);
|
|
|
| // Returns a RawInstance if the exception is successfully created,
|
| // otherwise returns a RawError.
|
|
|