public class ODataClientErrorException extends ODataRuntimeException
ODataError
,
Serialized FormConstructor and Description |
---|
ODataClientErrorException(org.apache.http.StatusLine statusLine)
Constructor.
|
ODataClientErrorException(org.apache.http.StatusLine statusLine,
ODataError error)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ODataError |
getODataError()
Gets OData error.
|
org.apache.http.StatusLine |
getStatusLine()
Gets request status info.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ODataClientErrorException(org.apache.http.StatusLine statusLine)
statusLine
- request status info.public ODataClientErrorException(org.apache.http.StatusLine statusLine, ODataError error)
statusLine
- request status info.error
- OData error to be wrapped.public org.apache.http.StatusLine getStatusLine()
public ODataError getODataError()
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.