Uses of Class
org.fusesource.hawtbuf.proto.compiler.TextFormat.ParseException
Packages that use TextFormat.ParseException
-
Uses of TextFormat.ParseException in org.fusesource.hawtbuf.proto.compiler
Methods in org.fusesource.hawtbuf.proto.compiler that return TextFormat.ParseExceptionModifier and TypeMethodDescriptionprivate TextFormat.ParseExceptionTextFormat.Tokenizer.floatParseException(NumberFormatException e) Constructs an appropriateTextFormat.ParseExceptionfor the givenNumberFormatExceptionwhen trying to parse a float or double.private TextFormat.ParseExceptionTextFormat.Tokenizer.integerParseException(NumberFormatException e) Constructs an appropriateTextFormat.ParseExceptionfor the givenNumberFormatExceptionwhen trying to parse an integer.TextFormat.Tokenizer.parseException(String description) Returns aTextFormat.ParseExceptionwith the current line and column numbers in the description, suitable for throwing.TextFormat.Tokenizer.parseExceptionPreviousToken(String description) Returns aTextFormat.ParseExceptionwith the line and column numbers of the previous token in the description, suitable for throwing.Methods in org.fusesource.hawtbuf.proto.compiler that throw TextFormat.ParseExceptionModifier and TypeMethodDescriptionvoidIf the next token exactly matchestoken, consume it.booleanTextFormat.Tokenizer.consumeBoolean()If the next token is a boolean, consume it and return its value.TextFormat.Tokenizer.consumeBuffer()If the next token is a string, consume it, unescape it as aBuffer, and return it.doubleTextFormat.Tokenizer.consumeDouble()If the next token is a double, consume it and return its value.floatTextFormat.Tokenizer.consumeFloat()If the next token is a float, consume it and return its value.TextFormat.Tokenizer.consumeIdentifier()If the next token is an identifier, consume it and return its value.intTextFormat.Tokenizer.consumeInt32()If the next token is a 32-bit signed integer, consume it and return its value.longTextFormat.Tokenizer.consumeInt64()If the next token is a 64-bit signed integer, consume it and return its value.TextFormat.Tokenizer.consumeString()If the next token is a string, consume it and return its (unescaped) value.intTextFormat.Tokenizer.consumeUInt32()If the next token is a 32-bit unsigned integer, consume it and return its value.longTextFormat.Tokenizer.consumeUInt64()If the next token is a 64-bit unsigned integer, consume it and return its value.