Package org.wikidata.wdtk.wikibaseapi
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:
-
Field Summary
Fields inherited from class com.fasterxml.jackson.core.JsonProcessingException
_location
-
Constructor Summary
ConstructorDescriptionMalformedResponseException
(String message) ConstructsMalformedResponseException
with the specified detail message.MalformedResponseException
(String message, Throwable cause) ConstructsMalformedResponseException
with the specified detail message and cause. -
Method Summary
Methods inherited from class com.fasterxml.jackson.core.JsonProcessingException
clearLocation, getLocation, getMessage, getMessageSuffix, getOriginalMessage, getProcessor, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
MalformedResponseException
ConstructsMalformedResponseException
with the specified detail message.- Parameters:
message
- the detail message, which can be later retrieved viaJsonProcessingException.getMessage()
-
MalformedResponseException
ConstructsMalformedResponseException
with the specified detail message and cause.- Parameters:
message
- the detail message, which can be later retrieved viaJsonProcessingException.getMessage()
cause
- the cause, which can be later retrieved viaThrowable.getCause()
-