Chromium Code Reviews| Index: utils/tests/pub/command_line_config.dart |
| diff --git a/utils/tests/pub/command_line_config.dart b/utils/tests/pub/command_line_config.dart |
| index 2fbc3cd4a068c95156ced36be1c80bc4be47a776..9eeff4e5e431aa3d385155894b013df0630d3619 100644 |
| --- a/utils/tests/pub/command_line_config.dart |
| +++ b/utils/tests/pub/command_line_config.dart |
| @@ -153,7 +153,9 @@ class _StackFrame { |
| if (match == null) { |
| match = coreRegExp.firstMatch(text); |
| - if (match == null) throw "Couldn't parse stack trace line '$text'."; |
| + if (match == null) { |
| + throw FormatError("Couldn't parse stack trace line '$text'."); |
|
Bob Nystrom
2013/04/18 18:18:31
FormatException
nweiz
2013/04/18 18:37:24
Done.
|
| + } |
| isCore = true; |
| } |