@Beta public class ODataBatchResponseException extends ODataResponseException
Constructor and Description |
---|
ODataBatchResponseException(ODataRequestBatch requestBatch,
ODataRequestGeneric requestSegment,
org.apache.http.HttpResponse response,
String message,
String content,
Throwable cause)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getContent() |
ODataRequestGeneric |
getRequestSegment() |
org.apache.http.HttpResponse |
getResponse() |
int |
hashCode() |
getRequest
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ODataBatchResponseException(@Nonnull ODataRequestBatch requestBatch, @Nonnull ODataRequestGeneric requestSegment, @Nonnull org.apache.http.HttpResponse response, @Nonnull String message, @Nullable String content, @Nullable Throwable cause)
requestBatch
- The original OData request reference.requestSegment
- The nested OData request that was part of the batch query.response
- The HTTP response.message
- The error message.content
- The original OData batch response data.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
@Nonnull public org.apache.http.HttpResponse getResponse()
@Nonnull public ODataRequestGeneric getRequestSegment()
Copyright © 2020 SAP SE. All rights reserved.