public virtual void OnActivityWarning(bool warningOn)
            {
                IConnectionListener activeListener = this.enclosingInstance.GetActiveListener(this.currPhase);

                if (activeListener != null)
                {
                    try
                    {
                        activeListener.OnActivityWarning(warningOn);
                    }
                    catch (Exception)
                    {
                    }
                }
            }