Class ODataExceptionMapperImpl

java.lang.Object
org.apache.olingo.odata2.core.rest.ODataExceptionMapperImpl
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<Exception>

@Provider public class ODataExceptionMapperImpl extends Object implements jakarta.ws.rs.ext.ExceptionMapper<Exception>
Creates an error response according to the format defined by the OData standard if an exception occurs that is not handled elsewhere.
  • Constructor Details

    • ODataExceptionMapperImpl

      public ODataExceptionMapperImpl()
  • Method Details

    • toResponse

      public jakarta.ws.rs.core.Response toResponse(Exception exception)
      Specified by:
      toResponse in interface jakarta.ws.rs.ext.ExceptionMapper<Exception>