示例#1
0
文件: AllTests.cs 项目: xingx001/ice
 public void ignoreEx(Ice.Exception ex)
 {
     if (!(ex is Ice.CommunicatorDestroyedException))
     {
         _output.WriteLine(ex.ToString());
         test(false);
     }
 }
示例#2
0
文件: AllTests.cs 项目: xingx001/ice
 public void exception(Ice.Exception ex)
 {
     if (!(ex is Ice.NoEndpointException))
     {
         _output.WriteLine(ex.ToString());
         test(false);
     }
     test(Dispatcher.isDispatcherThread());
     called();
 }
示例#3
0
 private static void exceptAbortI(Ice.Exception ex, TextWriter output)
 {
     try
     {
         throw ex;
     }
     catch (Ice.ConnectionLostException)
     {
     }
     catch (Ice.ConnectFailedException)
     {
     }
     catch (Ice.SocketException)
     {
     }
     catch (Exception)
     {
         output.WriteLine(ex.ToString());
         test(false);
     }
 }