Class ODataServerErrorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.olingo.commons.api.ex.ODataRuntimeException
org.apache.olingo.client.api.communication.ODataServerErrorException
All Implemented Interfaces:
Serializable

public class ODataServerErrorException extends org.apache.olingo.commons.api.ex.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).