Tornado.ioloop.IOLoop.handle_callback_exception C# (CSharp) Method

handle_callback_exception() private method

private handle_callback_exception ( System.Action callback, Exception ex ) : void
callback System.Action
ex System.Exception
return void
        private void handle_callback_exception(Action callback, Exception ex)
        {
            /*This method is called whenever a callback run by the IOLoop
            throws an exception.

            By default simply logs the exception as an error.  Subclasses
            may override this method to customize reporting of exceptions.

            The exception itself is not passed explicitly, but is available
            in sys.exc_info.
            */
            logging.error(string.Format("Exception in callback {0}", callback), ex);
        }
    }