/// <summary>
 /// Constructor for ThreadHandlerExceptionArgs.
 /// </summary>
 /// <param name="threadHandler">ThreadHandler object</param>
 /// <param name="exception">Exception object</param>
 /// <param name="stateAtException">Thread's state at the moment of the exception.</param>
 public ThreadHandlerExceptionArgs(ThreadHandler threadHandler, Exception exception)
 {
     _threadHandler = threadHandler;
     _exception     = exception;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="threadHandler">ThreadHandler object</param>
 public ThreadHandlerEventArgs(ThreadHandler threadHandler)
 {
     _threadHandler = threadHandler;
 }