public class ODataServerErrorException extends ODataRuntimeException
Constructor and Description |
---|
ODataServerErrorException(org.apache.http.StatusLine statusLine)
Constructor.
|
ODataServerErrorException(org.apache.http.StatusLine statusLine,
InputStream rawResponse)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
getRawResponse()
Return raw response from the request (can be null).
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ODataServerErrorException(org.apache.http.StatusLine statusLine)
statusLine
- request status info.public ODataServerErrorException(org.apache.http.StatusLine statusLine, InputStream rawResponse)
statusLine
- request status info.rawResponse
- raw response of the request.public InputStream getRawResponse()
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.