Ejemplo n.º 1
0
        /// <summary>
        /// Displays a ReservedWordException
        /// </summary>
        /// <param name="ex">The exception</param>
        private static void ShowException(ReservedWordException ex)
        {
            PrepareToShow();
            string errorMessage = Util.CombineMessageParts(SharedStrings.RESERVED_WORD_ERROR, ex.ReservedWordUsed);

            ShowError(errorMessage, false);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Displays a ReservedWordException
 /// </summary>
 /// <param name="ex">The exception</param>
 private static void ShowException(ReservedWordException ex)
 {
     PrepareToShow();
     string errorMessage = Util.CombineMessageParts(SharedStrings.RESERVED_WORD_ERROR, ex.ReservedWordUsed);
     ShowError(errorMessage, false);
 }