Class JsonInvalidPathException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JsonIndexOutOfBoundsException, JsonPathNotFoundException

public class JsonInvalidPathException extends JsonException
See Also:
  • Constructor Details

    • JsonInvalidPathException

      public JsonInvalidPathException(com.google.gson.JsonElement base, Object[] path, int index)
    • JsonInvalidPathException

      public JsonInvalidPathException(com.google.gson.JsonElement base, Object[] path)
  • Method Details

    • formatMessage

      protected String formatMessage(com.google.gson.JsonElement base, Object[] path)
    • getProblemCausingNode

      public com.google.gson.JsonElement getProblemCausingNode()
      Overrides:
      getProblemCausingNode in class JsonException
    • getPath

      public Object[] getPath()
    • getIndex

      public int getIndex()
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable