Class ODataConnectionException
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
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataConnectionException
- All Implemented Interfaces:
Serializable
OData connection exception indicating errors when trying to establish a service connection.
- See Also:
-
Constructor Summary
ConstructorDescriptionODataConnectionException
(ODataRequestGeneric request, org.apache.http.client.methods.HttpUriRequest httpRequest, 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
-
ODataConnectionException
public ODataConnectionException(@Nonnull ODataRequestGeneric request, @Nonnull org.apache.http.client.methods.HttpUriRequest httpRequest, @Nonnull String message, @Nullable Throwable cause) Default constructor.- Parameters:
request
- The original OData request reference.httpRequest
- The original HTTP request which was sent.message
- The error message.cause
- The error cause.
-
-
Method Details
-
equals
- Overrides:
equals
in classODataRequestException
-
canEqual
- Overrides:
canEqual
in classODataRequestException
-
hashCode
public int hashCode()- Overrides:
hashCode
in classODataRequestException
-
getHttpRequest
@Nonnull public org.apache.http.client.methods.HttpUriRequest getHttpRequest()TheHttpUriRequest
that was attempted.
-