public virtual void OnFailure(PushServerException e) { IConnectionListener activeListener = this.enclosingInstance.GetActiveListener(this.currPhase); if (activeListener != null) { try { activeListener.OnFailure(e); } catch (Exception) { } } }