Class ODataServiceErrorException

All Implemented Interfaces:
Serializable

public class ODataServiceErrorException extends ODataResponseException
An ODataException representing an erroneous response from the service where the payload contained detailed OData error information.
See Also:
  • Constructor Details

    • ODataServiceErrorException

      public ODataServiceErrorException(@Nonnull ODataRequestGeneric request, @Nonnull org.apache.http.HttpResponse httpResponse, @Nonnull String message, @Nullable Throwable cause, @Nonnull ODataServiceError odataError)
      Default constructor.
      Parameters:
      request - The original OData request reference.
      httpResponse - The failing HTTP response reference.
      message - The error message.
      cause - The error cause, if any.
      odataError - The parsed odata error contained in the HTTP response.
  • Method Details