Class ODataRequestException
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.ODataRequestException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ODataConnectionException
,ODataSerializationException
Generic OData request exception indicating errors while trying to request a service resource.
- See Also:
-
Constructor Summary
ConstructorDescriptionODataRequestException
(ODataRequestGeneric request, String message, Throwable cause) Default constructor. -
Method Summary
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
-
ODataRequestException
public ODataRequestException(@Nonnull ODataRequestGeneric request, @Nonnull String message, @Nullable Throwable cause) Default constructor.- Parameters:
request
- The original OData request reference.message
- The error message.cause
- The error cause.
-
-
Method Details
-
equals
- Overrides:
equals
in classODataException
-
canEqual
- Overrides:
canEqual
in classODataException
-
hashCode
public int hashCode()- Overrides:
hashCode
in classODataException
-