Uses of Class
org.fusesource.hawtbuf.proto.compiler.TextFormat.ParseException
-
Packages that use TextFormat.ParseException Package Description org.fusesource.hawtbuf.proto.compiler -
-
Uses of TextFormat.ParseException in org.fusesource.hawtbuf.proto.compiler
Methods in org.fusesource.hawtbuf.proto.compiler that return TextFormat.ParseException Modifier and Type Method Description private TextFormat.ParseException
TextFormat.Tokenizer. floatParseException(java.lang.NumberFormatException e)
Constructs an appropriateTextFormat.ParseException
for the givenNumberFormatException
when trying to parse a float or double.private TextFormat.ParseException
TextFormat.Tokenizer. integerParseException(java.lang.NumberFormatException e)
Constructs an appropriateTextFormat.ParseException
for the givenNumberFormatException
when trying to parse an integer.TextFormat.ParseException
TextFormat.Tokenizer. parseException(java.lang.String description)
Returns aTextFormat.ParseException
with the current line and column numbers in the description, suitable for throwing.TextFormat.ParseException
TextFormat.Tokenizer. parseExceptionPreviousToken(java.lang.String description)
Returns aTextFormat.ParseException
with 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.ParseException Modifier and Type Method Description void
TextFormat.Tokenizer. consume(java.lang.String token)
If the next token exactly matchestoken
, consume it.boolean
TextFormat.Tokenizer. consumeBoolean()
If the next token is a boolean, consume it and return its value.Buffer
TextFormat.Tokenizer. consumeBuffer()
If the next token is a string, consume it, unescape it as aBuffer
, and return it.double
TextFormat.Tokenizer. consumeDouble()
If the next token is a double, consume it and return its value.float
TextFormat.Tokenizer. consumeFloat()
If the next token is a float, consume it and return its value.java.lang.String
TextFormat.Tokenizer. consumeIdentifier()
If the next token is an identifier, consume it and return its value.int
TextFormat.Tokenizer. consumeInt32()
If the next token is a 32-bit signed integer, consume it and return its value.long
TextFormat.Tokenizer. consumeInt64()
If the next token is a 64-bit signed integer, consume it and return its value.java.lang.String
TextFormat.Tokenizer. consumeString()
If the next token is a string, consume it and return its (unescaped) value.int
TextFormat.Tokenizer. consumeUInt32()
If the next token is a 32-bit unsigned integer, consume it and return its value.long
TextFormat.Tokenizer. consumeUInt64()
If the next token is a 64-bit unsigned integer, consume it and return its value.
-