Class ODataDeserializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataResponseException
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataDeserializationException
- All Implemented Interfaces:
Serializable
OData deserialization exception type to focus on deserialization errors when parsing the service response.
- See Also:
-
Constructor Summary
ConstructorDescriptionODataDeserializationException
(ODataRequestGeneric request, org.apache.http.HttpResponse httpResponse, String message, Throwable cause) Default constructor. -
Method Summary
Methods inherited from class com.sap.cloud.sdk.datamodel.odata.client.exception.ODataResponseException
getHttpBody, getHttpCode, getHttpHeaders
Methods inherited from class com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException
getRequest
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ODataDeserializationException
public ODataDeserializationException(@Nonnull ODataRequestGeneric request, @Nonnull org.apache.http.HttpResponse httpResponse, @Nonnull String message, @Nullable Throwable cause) Default constructor.- Parameters:
request
- The original OData request reference.httpResponse
- TheHttpResponse
that gave raise to this exception.message
- The error message.cause
- The error cause.
-
-
Method Details
-
equals
- Overrides:
equals
in classODataResponseException
-
canEqual
- Overrides:
canEqual
in classODataResponseException
-
hashCode
public int hashCode()- Overrides:
hashCode
in classODataResponseException
-