Chromium Code Reviews| Index: runtime/bin/process.dart |
| diff --git a/runtime/bin/process.dart b/runtime/bin/process.dart |
| index e5a56184b32ddbee02ee13773aa5d8171ef21056..4c71fcfd47001cc0eace77f38a3df6421f039adf 100644 |
| --- a/runtime/bin/process.dart |
| +++ b/runtime/bin/process.dart |
| @@ -52,7 +52,7 @@ class Process { |
| /** |
| * Returns an input stream of the process stdout. |
| * |
| - * Throws an [UnsupportedOperationException] if the process is |
| + * Throws an [StateError] if the process is |
|
floitsch
2012/10/23 12:50:32
Throws a [StateError] ...
ditto for all comments b
Lasse Reichstein Nielsen
2012/10/24 12:32:15
Fixed by changing StateError to UnsupportedError.
|
| * non-interactive. |
| */ |
| abstract InputStream get stdout; |
| @@ -60,7 +60,7 @@ class Process { |
| /** |
| * Returns an input stream of the process stderr. |
| * |
| - * Throws an [UnsupportedOperationException] if the process is |
| + * Throws an [StateError] if the process is |
| * non-interactive. |
| */ |
| abstract InputStream get stderr; |
| @@ -68,7 +68,7 @@ class Process { |
| /** |
| * Returns an output stream to the process stdin. |
| * |
| - * Throws an [UnsupportedOperationException] if the process is |
| + * Throws an [StateError] if the process is |
| * non-interactive. |
| */ |
| abstract OutputStream get stdin; |
| @@ -77,7 +77,7 @@ class Process { |
| * Sets an exit handler which gets invoked when the process |
| * terminates. |
| * |
| - * Throws an [UnsupportedOperationException] if the process is |
| + * Throws an [StateError] if the process is |
| * non-interactive. |
| */ |
| abstract void set onExit(void callback(int exitCode)); |