From 7f1c30e0a87d86666bcc26b758f3a71b3fd05ea2 Mon Sep 17 00:00:00 2001 From: "nweiz@google.com" <nweiz@google.com> Date: Thu, 26 Jun 2014 00:16:39 +0000 Subject: [PATCH] Re-define ApplicationException.toString() in pub. R=rnystrom@google.com Review URL: https://codereview.chromium.org//352263002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@37715 260f80e4-7a28-3924-810f-c04153c831b5 --- lib/src/exceptions.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/exceptions.dart b/lib/src/exceptions.dart index e7f4a28f..e67ef64d 100644 --- a/lib/src/exceptions.dart +++ b/lib/src/exceptions.dart @@ -4,7 +4,6 @@ library pub.exceptions; -import 'dart:async'; import 'dart:io'; import 'dart:isolate'; @@ -23,6 +22,8 @@ class ApplicationException implements Exception { final String message; ApplicationException(this.message); + + String toString() => message; } /// A class for exceptions that wrap other exceptions. -- GitLab