private static void OnErrorReceived(object sender, TextWriterEventArgs e)
 {
     /* receive the errors from KNIME */
     Console.WriteLine("Error: " + e.Data);
 }
        /* Below are two event handlers that receive KNIME data. In the example we only log the data but you could obviously react different
         * based on the data content you receive */

        private static void OnOutputReceived(object sender, TextWriterEventArgs e)
        {
            /* receive the outputs from KNIME */
            Console.WriteLine("Output: " + e.Data);
        }