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

Unified Diff: runtime/bin/process.dart

Issue 11235054: Removed IllegalAccessException and UnsupportedOperationException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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: 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));

Powered by Google App Engine
This is Rietveld 408576698