Class MalformedResponseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.fasterxml.jackson.core.JacksonException
com.fasterxml.jackson.core.JsonProcessingException
org.wikidata.wdtk.wikibaseapi.MalformedResponseException
All Implemented Interfaces:
Serializable

public class MalformedResponseException extends com.fasterxml.jackson.core.JsonProcessingException
Exception thrown when response from Wikibase API cannot be parsed. This exception may be thrown in addition to other JsonProcessingException exceptions.
See Also:
  • Constructor Details

    • MalformedResponseException

      public MalformedResponseException(String message)
      Constructs MalformedResponseException with the specified detail message.
      Parameters:
      message - the detail message, which can be later retrieved via JsonProcessingException.getMessage()
    • MalformedResponseException

      public MalformedResponseException(String message, Throwable cause)
      Constructs MalformedResponseException with the specified detail message and cause.
      Parameters:
      message - the detail message, which can be later retrieved via JsonProcessingException.getMessage()
      cause - the cause, which can be later retrieved via Throwable.getCause()