| 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 {
|
|
|