Index: lib/isolate/isolate_api.dart |
=================================================================== |
--- lib/isolate/isolate_api.dart (revision 5367) |
+++ lib/isolate/isolate_api.dart (working copy) |
@@ -2,6 +2,12 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+class IsolateSpawnException implements Exception { |
+ const IsolateSpawnException(String this._s); |
+ String toString() => "IsolateSpawnException: '$_s'"; |
+ final String _s; |
+} |
siva
2012/03/13 19:45:21
By defining it here are you making IsolateSpawnExc
turnidge
2012/03/13 21:23:37
No idea what the consensus is. Is it okay to add
|
+ |
/** |
* The initial [ReceivePort] available by default for this isolate. This |
* [ReceivePort] is created automatically and it is commonly used to establish |