Searched refs:CreateException (Results 1 – 1 of 1) sorted by relevance
317 throw reader.CreateException(errorPrefix + state); in ValidateState()333 …throw reader.CreateException(string.Format(CultureInfo.InvariantCulture, "Invalid character in str… in ReadString()339 … throw reader.CreateException("Invalid use of surrogate pair code units"); in ReadString()352 throw reader.CreateException("Invalid use of surrogate pair code units"); in ReadString()386 …throw reader.CreateException(string.Format(CultureInfo.InvariantCulture, "Invalid character in cha… in ReadEscapedCharacter()414 …throw reader.CreateException(string.Format(CultureInfo.InvariantCulture, "Invalid character in cha… in ReadUnicodeEscape()432 … throw reader.CreateException("Unexpected end of text while reading literal token " + text); in ConsumeLiteral()436 … throw reader.CreateException("Unexpected character while reading literal token " + text); in ConsumeLiteral()480 throw reader.CreateException("Numeric value out of range: " + builder); in ReadNumber()489 throw reader.CreateException("Invalid numeric literal"); in ReadInt()[all …]