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
Represents a server error in OData.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionODataServerErrorException
(org.apache.http.StatusLine statusLine) Constructor.ODataServerErrorException
(org.apache.http.StatusLine statusLine, InputStream rawResponse) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturn raw response from the request (can be null).Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ODataServerErrorException
public ODataServerErrorException(org.apache.http.StatusLine statusLine) Constructor.- Parameters:
statusLine
- request status info.
-
ODataServerErrorException
Constructor.- Parameters:
statusLine
- request status info.rawResponse
- raw response of the request.
-
-
Method Details
-
getRawResponse
Return raw response from the request (can be null).- Returns:
- raw response from the request (can be null).
-