Class ODataExceptionMapperImpl

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<Exception>

    @Provider
    public class ODataExceptionMapperImpl
    extends Object
    implements javax.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 Detail

      • ODataExceptionMapperImpl

        public ODataExceptionMapperImpl()
    • Method Detail

      • toResponse

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