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.Object
Represents 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.Integer
getColumn()
The column field of the location.java.lang.Integer
getLine()
The line field of the location.com.google.gson.JsonObject
getLocationRoot()
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
-
-