Interface ErrorProcessor

All Superinterfaces:
Processor
All Known Implementing Classes:
DefaultProcessor

public interface ErrorProcessor extends Processor
Processor which is called if any error/exception occurs inside the library or another processor.
  • 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 information
      response - OData response object for collecting response data
      serverError - the server error
      responseFormat - requested content type after content negotiation