Searched refs:CreateException (Results 1 – 1 of 1) sorted by relevance
289 throw reader.CreateException(errorPrefix + state); in ValidateState()305 …throw reader.CreateException(string.Format(CultureInfo.InvariantCulture, "Invalid character in str… in ReadString()311 … throw reader.CreateException("Invalid use of surrogate pair code units"); in ReadString()324 throw reader.CreateException("Invalid use of surrogate pair code units"); in ReadString()358 …throw reader.CreateException(string.Format(CultureInfo.InvariantCulture, "Invalid character in cha… in ReadEscapedCharacter()386 …throw reader.CreateException(string.Format(CultureInfo.InvariantCulture, "Invalid character in cha… in ReadUnicodeEscape()404 … throw reader.CreateException("Unexpected end of text while reading literal token " + text); in ConsumeLiteral()408 … throw reader.CreateException("Unexpected character while reading literal token " + text); in ConsumeLiteral()452 throw reader.CreateException("Numeric value out of range: " + builder); in ReadNumber()461 throw reader.CreateException("Invalid numeric literal"); in ReadInt()[all …]