commit | cee1e085b56866b4feb9b334da5d5d8f0b79d44d | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Wed Apr 02 22:10:09 2008 +0000 |
committer | David Reiss <dreiss@apache.org> | Wed Apr 02 22:10:09 2008 +0000 |
tree | f09d026f0123f765ca8781f08e98138b812c83d6 | |
parent | 437c03bb3d8825bf64581869861c645b4f94908f [diff] |
C#: Catch exceptions by name. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665631 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/csharp/src/Transport/TServerSocket.cs b/lib/csharp/src/Transport/TServerSocket.cs index 3b5c8dd..33ada7b 100644 --- a/lib/csharp/src/Transport/TServerSocket.cs +++ b/lib/csharp/src/Transport/TServerSocket.cs
@@ -70,7 +70,7 @@ // Make server socket server = new TcpListener(System.Net.IPAddress.Any, this.port); } - catch (Exception e) + catch (Exception) { server = null; throw new TTransportException("Could not create ServerSocket on port " + port + ".");