Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: pkg/analyzer_experimental/lib/src/generated/java_core.dart

Issue 23461019: New analyzer_experimental snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer_experimental/lib/src/generated/java_core.dart
diff --git a/pkg/analyzer_experimental/lib/src/generated/java_core.dart b/pkg/analyzer_experimental/lib/src/generated/java_core.dart
index c3dadd0d2165b02dbdf197271e9fbf26b1c5806b..d13bb3d72e1bf7812215b9c4cbbb41812e9b2057 100644
--- a/pkg/analyzer_experimental/lib/src/generated/java_core.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/java_core.dart
@@ -274,8 +274,9 @@ class Math {
static num min(num a, num b) => math.min(a, b);
}
-class RuntimeException implements Exception {
- String toString() => "RuntimeException";
+class RuntimeException extends JavaException {
+ RuntimeException([String message = "", Exception cause = null]) :
+ super(message, cause);
}
class JavaException implements Exception {
@@ -283,7 +284,7 @@ class JavaException implements Exception {
final Exception cause;
JavaException([this.message = "", this.cause = null]);
JavaException.withCause(this.cause) : message = null;
- String toString() => "JavaException: $message $cause";
+ String toString() => "${runtimeType}: $message $cause";
}
class JavaIOException extends JavaException {

Powered by Google App Engine
This is Rietveld 408576698