Package | Description |
---|---|
org.apache.olingo.server.api | |
org.apache.olingo.server.api.processor | |
org.apache.olingo.server.api.serializer |
Modifier and Type | Method and Description |
---|---|
ClientServerError |
ClientServerError.setCode(String code)
The value for the code name/value pair is a language-independent string.
|
ClientServerError |
ClientServerError.setDetails(List<ODataErrorDetail> details)
Sets error details.
|
ClientServerError |
ClientServerError.setException(Exception exception)
Sets the exception.
|
ClientServerError |
ClientServerError.setInnerError(Map<String,String> innerError)
Sets server defined key-value pairs for debug environment only.
|
ClientServerError |
ClientServerError.setLocale(Locale locale)
Sets the locale.
|
ClientServerError |
ClientServerError.setMessage(String message)
The value for the message name/value pair MUST be a human-readable,
language-dependent representation of the error.
|
ClientServerError |
ClientServerError.setStatusCode(int statusCode)
Sets the status code.
|
ClientServerError |
ClientServerError.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 |
---|---|
void |
ErrorProcessor.processError(ODataRequest request,
ODataResponse response,
ClientServerError serverError,
ContentType responseFormat)
Processes an error/exception.
|
void |
DefaultProcessor.processError(ODataRequest request,
ODataResponse response,
ClientServerError serverError,
ContentType requestedContentType) |
Modifier and Type | Method and Description |
---|---|
SerializerResult |
ODataSerializer.error(ClientServerError error)
Writes an ODataError into an InputStream.
|
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.