Interface ErrorProcessor
- All Superinterfaces:
Processor
- All Known Implementing Classes:
DefaultProcessor
Processor which is called if any error/exception occurs inside the library or another processor.
-
Method Summary
Modifier and TypeMethodDescriptionvoidprocessError(ODataRequest request, ODataResponse response, ODataServerError serverError, ContentType responseFormat) Processes an error/exception.
-
Method Details
-
processError
void processError(ODataRequest request, ODataResponse response, ODataServerError serverError, ContentType responseFormat) Processes an error/exception. MUST NOT throw an exception!- Parameters:
request- OData request object containing raw HTTP informationresponse- OData response object for collecting response dataserverError- the server errorresponseFormat- requested content type after content negotiation
-