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

Unified Diff: sdk/lib/io/socket.dart

Issue 16123036: Clean up dart:io exceptions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 | « sdk/lib/io/secure_socket.dart ('k') | sdk/lib/io/websocket.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/socket.dart
diff --git a/sdk/lib/io/socket.dart b/sdk/lib/io/socket.dart
index 040cf39424f06e9ae15935757477026970d4b65d..7164bf14408f26c7d3f7f40e2796811296b7ad8c 100644
--- a/sdk/lib/io/socket.dart
+++ b/sdk/lib/io/socket.dart
@@ -409,12 +409,12 @@ abstract class Socket implements Stream<List<int>>, IOSink {
}
-class SocketIOException implements Exception {
- const SocketIOException([String this.message = "",
- OSError this.osError = null]);
+class SocketException implements IOException {
+ const SocketException([String this.message = "",
+ OSError this.osError = null]);
String toString() {
StringBuffer sb = new StringBuffer();
- sb.write("SocketIOException");
+ sb.write("SocketException");
if (!message.isEmpty) {
sb.write(": $message");
if (osError != null) {
« no previous file with comments | « sdk/lib/io/secure_socket.dart ('k') | sdk/lib/io/websocket.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698