Ejemplo n.º 1
0
 public override void Execute()
 {
     try
     {
         base.Execute();
     }
     catch (Exception ex)
     {
         Log.Write(LogLevel.Info, "[Handler : {0}] Force disconnection of client {1} : {2}", Parameter3, Parameter2, ex);
         Parameter2.Disconnect();
     }
 }
Ejemplo n.º 2
0
 public override void Execute()
 {
     try
     {
         base.Execute();
     }
     catch (Exception ex)
     {
         logger.Error("[Handler : {0}] Force disconnection of client {1} : {2}", Parameter3, Parameter2, ex);
         Parameter2.Disconnect();
         ExceptionManager.RegisterException(ex);
     }
 }