@Beta public class ODataServiceException extends ODataResponseException
| Constructor and Description |
|---|
ODataServiceException(ODataRequestGeneric request,
org.apache.http.HttpResponse httpResponse,
String message,
Throwable cause)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
int |
getHttpCode() |
org.apache.http.Header[] |
getHttpHeaders() |
String |
getHttpReason() |
int |
hashCode() |
getRequestaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ODataServiceException(@Nonnull ODataRequestGeneric request, @Nonnull org.apache.http.HttpResponse httpResponse, @Nonnull String message, @Nullable Throwable cause)
request - The original OData request reference.httpResponse - The failing HTTP response reference.message - The error message.cause - The error cause.public boolean equals(@Nullable Object o)
equals in class ODataResponseExceptionprotected boolean canEqual(@Nullable Object other)
canEqual in class ODataResponseExceptionpublic int hashCode()
hashCode in class ODataResponseExceptionpublic int getHttpCode()
@Nonnull public org.apache.http.Header[] getHttpHeaders()
Copyright © 2020 SAP SE. All rights reserved.