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

Unified Diff: utils/archive/entry.dart

Issue 11235054: Removed IllegalAccessException and UnsupportedOperationException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: ADded test expectations. 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
« no previous file with comments | « tools/utils/vim/syntax/dart.vim ('k') | utils/pub/root_source.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/archive/entry.dart
diff --git a/utils/archive/entry.dart b/utils/archive/entry.dart
index b5a97d1e74f0c1aaa29ff7ce85d8227994e844b7..e65b9658e5acd16f97ccf06480da21ebc62b09ba 100644
--- a/utils/archive/entry.dart
+++ b/utils/archive/entry.dart
@@ -260,10 +260,10 @@ class ArchiveEntry {
*/
InputStream openInputStream() {
if (_archiveId == null) {
- throw new UnsupportedOperationException("Cannot open input stream for "
+ throw new UnsupportedError("Cannot open input stream for "
"archive entry $pathname.");
} else if (_input != null) {
- throw new UnsupportedOperationException("An input stream has already been"
+ throw new UnsupportedError("An input stream has already been"
"opened for archive entry $pathname.");
}
« no previous file with comments | « tools/utils/vim/syntax/dart.vim ('k') | utils/pub/root_source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698