Class GGError.Location
- java.lang.Object
-
- com.github.gpluscb.ggjava.api.exception.GGError.Location
-
- Enclosing class:
- GGError
public static class GGError.Location extends java.lang.ObjectRepresents the location of an error.
-
-
Constructor Summary
Constructors Constructor Description Location(com.google.gson.JsonObject locationRoot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetColumn()The column field of the location.java.lang.IntegergetLine()The line field of the location.com.google.gson.JsonObjectgetLocationRoot()The unprocessed JsonObject of the location.
-
-
-
Method Detail
-
getLocationRoot
@Nonnull public com.google.gson.JsonObject getLocationRoot()
The unprocessed JsonObject of the location.- Returns:
- the location root
-
getLine
@Nullable public java.lang.Integer getLine()
The line field of the location.- Returns:
- the line field
-
getColumn
@Nullable public java.lang.Integer getColumn()
The column field of the location.- Returns:
- the column field
-
-