Class JsonTypeMismatchException

All Implemented Interfaces:
Serializable

public class JsonTypeMismatchException extends JsonException
An exception thrown when a Json element is found on a certain path has an invalid type.
Author:
hiroshi
See Also:
  • Constructor Details

    • JsonTypeMismatchException

      public JsonTypeMismatchException(com.google.gson.JsonElement elem, String reason)
      Creates an object of this class.
      Parameters:
      elem - A JSON element whose value is found invalid.
      reason - A string that describes the reason why elem was considered invalid.
  • Method Details