Class ODataServerErrorException

All Implemented Interfaces:
Serializable

public class ODataServerErrorException extends ODataRuntimeException
Represents a server error in OData.
See Also:
  • Constructor Details

    • ODataServerErrorException

      public ODataServerErrorException(org.apache.http.StatusLine statusLine)
      Constructor.
      Parameters:
      statusLine - request status info.
    • ODataServerErrorException

      public ODataServerErrorException(org.apache.http.StatusLine statusLine, InputStream rawResponse)
      Constructor.
      Parameters:
      statusLine - request status info.
      rawResponse - raw response of the request.
  • Method Details

    • getRawResponse

      public InputStream getRawResponse()
      Return raw response from the request (can be null).
      Returns:
      raw response from the request (can be null).