/// <summary>
        /// Displays the details of an exception in the specified rich text box.
        /// </summary>
        public static void ShowException(RichTextBox textBox, int indentLevel, Exception exception)
        {
            RichTextBoxDisplayHelper viewer = new RichTextBoxDisplayHelper(textBox);

            viewer.DisplayException(indentLevel, exception);
        }