public void OnError(Exception e) { Debug.WriteLine("Error during response."); e.DebugStacktrace(); socket.Dispose(); }
public void OnException(IScheduler scheduler, Exception e) { Debug.WriteLine("Error on scheduler."); e.DebugStacktrace(); }
public void OnError(ISocket socket, Exception e) { Debug.WriteLine("Socket OnError."); e.DebugStacktrace(); transactionDelegate.OnError(e); }
void HandleAcceptError(Exception e) { state.SetError(); try { listener.Close(); } catch { } Debug.WriteLine("Error attempting to accept connection."); e.DebugStacktrace(); RaiseOnClose(); }