public void Interrupt(Exception exc) { m_interrupted = true; Console.WriteLine("Error is occured: {0}", exc.Message); m_outputStream.Interrupt(); m_queue.Interrupt(); m_threads.Interrupt(); }