| Index: sdk/lib/core/exceptions.dart
|
| diff --git a/sdk/lib/core/exceptions.dart b/sdk/lib/core/exceptions.dart
|
| index 70278836096d55de80b6ce1f2bbcf9fb0892ca9b..afe3285c75fff68c8a9337a7af73174890464eb9 100644
|
| --- a/sdk/lib/core/exceptions.dart
|
| +++ b/sdk/lib/core/exceptions.dart
|
| @@ -52,25 +52,6 @@ class FormatException implements Exception {
|
| }
|
|
|
|
|
| -class NullPointerException implements Exception {
|
| - const NullPointerException([this.functionName, this.arguments = const []]);
|
| - String toString() {
|
| - if (functionName == null) {
|
| - return exceptionName;
|
| - } else {
|
| - return "$exceptionName : method: '$functionName'\n"
|
| - "Receiver: null\n"
|
| - "Arguments: $arguments";
|
| - }
|
| - }
|
| -
|
| - String get exceptionName => "NullPointerException";
|
| -
|
| - final String functionName;
|
| - final List arguments;
|
| -}
|
| -
|
| -
|
| class IllegalJSRegExpException implements Exception {
|
| const IllegalJSRegExpException(String this._pattern, String this._errmsg);
|
| String toString() => "IllegalJSRegExpException: '$_pattern' '$_errmsg'";
|
|
|