| Package | Description |
|---|---|
| org.apache.olingo.commons.api.ex |
Contains all OData errors and exceptions related classes.
|
| 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).
|
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.