Modifier and Type | Method and Description |
---|---|
ODataError |
ODataClientErrorException.getODataError()
Gets OData error.
|
Constructor and Description |
---|
ODataClientErrorException(org.apache.http.StatusLine statusLine,
ODataError error)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ODataError |
CommonODataReader.readError(InputStream inputStream,
ODataFormat format)
Parses a stream into an OData error.
|
Modifier and Type | Method and Description |
---|---|
ODataError |
ODataError.setCode(String code)
The value for the code name/value pair is a language-independent string.
|
ODataError |
ODataError.setDetails(List<ODataErrorDetail> details)
Sets error details.
|
ODataError |
ODataError.setInnerError(Map<String,String> innerError)
Sets server defined key-value pairs for debug environment only.
|
ODataError |
ODataError.setMessage(String message)
The value for the message name/value pair MUST be a human-readable, language-dependent representation of the error.
|
ODataError |
ODataError.setTarget(String target)
The value for the target name/value pair is the target of the particular error (for example, the name of the
property in error).
|
Modifier and Type | Method and Description |
---|---|
ODataError |
ODataDeserializer.toError(InputStream input)
Gets the ODataError object represented by the given InputStream.
|
Modifier and Type | Class and Description |
---|---|
class |
ODataServerError
Server error.
|
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.