|
Make Exception a class, not an interface, and remove the const constructor.
We should consider removing the constructor entirely, there is never a good excuse for throwing a non-descript Exception. If you do, it should likely be an Error instead.
Committed: https://code.google.com/p/dart/source/detail?r=15077
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+82 lines, -64 lines) |
Patch |
|
M |
runtime/lib/errors_patch.dart
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/lib/core_patch.dart
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
sdk/lib/core/errors.dart
|
View
|
1
|
4 chunks |
+29 lines, -23 lines |
0 comments
|
Download
|
|
M |
sdk/lib/core/exceptions.dart
|
View
|
1
|
1 chunk |
+17 lines, -5 lines |
0 comments
|
Download
|
|
M |
sdk/lib/html/dart2js/html_dart2js.dart
|
View
|
1
|
16 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
|
M |
sdk/lib/html/scripts/systemhtml.py
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
sdk/lib/io/file_impl.dart
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tests/corelib/safe_to_string_test.dart
|
View
|
1
|
1 chunk |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
tests/html/indexeddb_1_test.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/html/indexeddb_2_test.dart
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tests/language/type_error_test.dart
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|