Public Member Functions | Private Attributes | Static Private Attributes | List of all members
com.google.protobuf.TextFormat.ParseException Class Reference
Inheritance diagram for com.google.protobuf.TextFormat.ParseException:
Inheritance graph
[legend]

Public Member Functions

int getColumn ()
 
int getColumn ()
 
int getLine ()
 
int getLine ()
 
 ParseException (final int line, final int column, final String message)
 
 ParseException (final int line, final int column, final String message)
 
 ParseException (final String message)
 
 ParseException (final String message)
 

Private Attributes

final int column
 
final int line
 

Static Private Attributes

static final long serialVersionUID = 3196188060225107702L
 

Detailed Description

Thrown when parsing an invalid text format message.

Definition at line 1279 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.

Constructor & Destructor Documentation

◆ ParseException() [1/4]

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 1286 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.

◆ ParseException() [2/4]

com.google.protobuf.TextFormat.ParseException.ParseException ( final int  line,
final int  column,
final String  message 
)
inline

Create a new instance

Parameters
linethe line number where the parse error occurred, using 1-offset.
columnthe column number where the parser error occurred, using 1-offset.

Definition at line 1296 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.

◆ ParseException() [3/4]

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 1371 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.

◆ ParseException() [4/4]

com.google.protobuf.TextFormat.ParseException.ParseException ( final int  line,
final int  column,
final String  message 
)
inline

Create a new instance

Parameters
linethe line number where the parse error occurred, using 1-offset.
columnthe column number where the parser error occurred, using 1-offset.

Definition at line 1381 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.

Member Function Documentation

◆ getColumn() [1/2]

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 1314 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.

◆ getColumn() [2/2]

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 1399 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.

◆ getLine() [1/2]

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 1306 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.

◆ getLine() [2/2]

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 1391 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.

Member Data Documentation

◆ column

final int com.google.protobuf.TextFormat.ParseException.column
private

◆ line

final int com.google.protobuf.TextFormat.ParseException.line
private

◆ serialVersionUID

static final long com.google.protobuf.TextFormat.ParseException.serialVersionUID = 3196188060225107702L
staticprivate

The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:07