|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
com.google.protobuf.TextFormat.ParseException
public static class TextFormat.ParseException
Thrown when parsing an invalid text format message.
| Constructor Summary | |
|---|---|
TextFormat.ParseException(int line,
int column,
java.lang.String message)
Create a new instance |
|
TextFormat.ParseException(java.lang.String message)
Create a new instance, with -1 as the line and column numbers. |
|
| Method Summary | |
|---|---|
int |
getColumn()
Return the column where the parse exception occurred, or -1 when none is provided. |
int |
getLine()
Return the line where the parse exception occurred, or -1 when none is provided. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TextFormat.ParseException(java.lang.String message)
public TextFormat.ParseException(int line,
int column,
java.lang.String message)
line - the line number where the parse error occurred,
using 1-offset.column - the column number where the parser error occurred,
using 1-offset.| Method Detail |
|---|
public int getLine()
public int getColumn()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||