Thrown when parsing an invalid text format message.
Definition at line 1204 of file TextFormat.java.
◆ ParseException() [1/2]
com.google.protobuf.TextFormat.ParseException.ParseException |
( |
final String |
message | ) |
|
|
inline |
Create a new instance, with -1 as the line and column numbers.
Definition at line 1211 of file TextFormat.java.
◆ ParseException() [2/2]
com.google.protobuf.TextFormat.ParseException.ParseException |
( |
final int |
line, |
|
|
final int |
column, |
|
|
final String |
message |
|
) |
| |
|
inline |
Create a new instance
- Parameters
-
line | the line number where the parse error occurred, using 1-offset. |
column | the column number where the parser error occurred, using 1-offset. |
Definition at line 1221 of file TextFormat.java.
◆ getColumn()
int com.google.protobuf.TextFormat.ParseException.getColumn |
( |
| ) |
|
|
inline |
Return the column where the parse exception occurred, or -1 when none is provided. The value is specified as 1-offset, so the first line is line 1.
Definition at line 1239 of file TextFormat.java.
◆ getLine()
int com.google.protobuf.TextFormat.ParseException.getLine |
( |
| ) |
|
|
inline |
Return the line where the parse exception occurred, or -1 when none is provided. The value is specified as 1-offset, so the first line is line 1.
Definition at line 1231 of file TextFormat.java.
◆ column
final int com.google.protobuf.TextFormat.ParseException.column |
|
private |
◆ line
final int com.google.protobuf.TextFormat.ParseException.line |
|
private |
◆ serialVersionUID
final long com.google.protobuf.TextFormat.ParseException.serialVersionUID = 3196188060225107702L |
|
staticprivate |
The documentation for this class was generated from the following file: