Class RestExceptionMapper

  • All Implemented Interfaces:
    jakarta.ws.rs.ext.ExceptionMapper<RestException>

    @Provider
    public class RestExceptionMapper
    extends Object
    implements jakarta.ws.rs.ext.ExceptionMapper<RestException>
    Author:
    Валерий Лиховских
    • Constructor Detail

      • RestExceptionMapper

        public RestExceptionMapper()
    • Method Detail

      • toResponse

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