/// <summary>
        /// Produces an exception in the case where the string representation of a enumeration value is unrecognizable as one of the values of the <typeparamref name="TEnum"/> enumeration.
        /// Useful in the default case of a switch statement for parsing a string to an enumeration.
        /// </summary>
        public static UnrecognizedEnumerationValueException RepresentationUnrecognizedException <TEnum>(string unrecognizedRepresentation)
            where TEnum : Enum
        {
            var output = EnumerationHelper.UnrecognizedEnumerationValueException <TEnum>(unrecognizedRepresentation);

            return(output);
        }
        /// <summary>
        /// Produces an exception in the case where the string representation of a enumeration value is unrecognizable as one of the values of the <paramref name="enumerationType"/> enumeration.
        /// Useful in the default case of a switch statement for parsing a string to an enumeration.
        /// </summary>
        public static UnrecognizedEnumerationValueException UnrecognizedEnumerationValueException(Type enumerationType, string unrecognizedValue)
        {
            var enumerationTypeFullName = enumerationType.FullName;

            var unrecognizedEnumerationValueException = EnumerationHelper.UnrecognizedEnumerationValueException(enumerationTypeFullName, unrecognizedValue);

            return(unrecognizedEnumerationValueException);
        }
        /// <summary>
        /// Produces an exception in the case where the string representation of a enumeration value is unrecognizable as one of the values of the <typeparamref name="TEnum"/> enumeration.
        /// Useful in the default case of a switch statement for parsing a string to an enumeration.
        /// </summary>
        public static UnrecognizedEnumerationValueException UnrecognizedEnumerationValueException <TEnum>(string unrecognizedValue)
            where TEnum : Enum
        {
            var enumerationType = typeof(TEnum);

            var unrecognizedEnumerationValueException = EnumerationHelper.UnrecognizedEnumerationValueException(enumerationType, unrecognizedValue);

            return(unrecognizedEnumerationValueException);
        }