Chromium Code Reviews| Index: runtime/vm/exceptions.h |
| =================================================================== |
| --- runtime/vm/exceptions.h (revision 28096) |
| +++ runtime/vm/exceptions.h (working copy) |
| @@ -65,6 +65,7 @@ |
| static void ThrowByType(ExceptionType type, const Array& arguments); |
| static void ThrowOOM(); |
| static void ThrowStackOverflow(); |
| + static void ThrowArgumentError(const Instance& arg); |
| // Returns a RawInstance if the exception is successfully created, |
| // otherwise returns a RawError. |