new internal static ShapeTypeNotSupportedException Throw <T>(T enumValue, string messageSuffix = ExceptionMessages.MSG_NOT_SUPPORTED) where T : struct, IConvertible { return(new ShapeTypeNotSupportedException(Utils.GetEnumName(enumValue) + messageSuffix)); }
internal static EnumNotImplementedException Throw <T>(T enumValue, string messageSuffix = ExceptionMessages.MSG_NOT_IMPLEMENTED) where T : struct, IConvertible { return(new EnumNotImplementedException(Utils.GetEnumName(enumValue) + messageSuffix)); }