summaryrefslogtreecommitdiff
path: root/csharp/src/Ice/ConnectRequestHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/src/Ice/ConnectRequestHandler.cs')
-rw-r--r--csharp/src/Ice/ConnectRequestHandler.cs15
1 files changed, 4 insertions, 11 deletions
diff --git a/csharp/src/Ice/ConnectRequestHandler.cs b/csharp/src/Ice/ConnectRequestHandler.cs
index 67ff6629605..fe93d6e4fb6 100644
--- a/csharp/src/Ice/ConnectRequestHandler.cs
+++ b/csharp/src/Ice/ConnectRequestHandler.cs
@@ -60,18 +60,11 @@ namespace IceInternal
outAsync.cancelable(this); // This will throw if the request is canceled
}
- try
- {
- if(!initialized())
- {
- _requests.AddLast(outAsync);
- sentCallback = null;
- return false;
- }
- }
- catch(Ice.LocalException ex)
+ if(!initialized())
{
- throw new RetryException(ex);
+ _requests.AddLast(outAsync);
+ sentCallback = null;
+ return false;
}
}
return outAsync.invokeRemote(_connection, _compress, _response, out sentCallback);