Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Location

        public Location​(@Nonnull
                        com.google.gson.JsonObject locationRoot)
        Throws:
        java.lang.IllegalArgumentException - if locationRoot is null
    • 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