Exemple #1
0
        protected virtual void OnListenerException(ListenerExceptionEventArgs e)
        {
            EventHandler <ListenerExceptionEventArgs> handler = ListenerException;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemple #2
0
 protected virtual void ListenerException(object sender, ListenerExceptionEventArgs e)
 {
     WriteLog(string.Format("[CRITICAL] {0}", e.InnerException));
 }