@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() |
getRequest
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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 ODataResponseException
protected boolean canEqual(@Nullable Object other)
canEqual
in class ODataResponseException
public int hashCode()
hashCode
in class ODataResponseException
public int getHttpCode()
@Nonnull public org.apache.http.Header[] getHttpHeaders()
Copyright © 2020 SAP SE. All rights reserved.