Class ContentNotFoundExceptionMapper

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

    @Provider
    public class ContentNotFoundExceptionMapper
    extends Object
    implements javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.core.NoContentException>
    Janaka Nawagamuwa created on 24/08/2021
    • Constructor Detail

      • ContentNotFoundExceptionMapper

        public ContentNotFoundExceptionMapper()
    • Method Detail

      • toResponse

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