Class ServiceBlacklistedExceptionMapper

java.lang.Object
com.ammann.servicemanager.exception.ServiceBlacklistedExceptionMapper
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<ServiceBlacklistedException>

@Provider public class ServiceBlacklistedExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<ServiceBlacklistedException>
JAX-RS exception mapper that converts ServiceBlacklistedException into an HTTP 403 Forbidden response with a JSON error body containing the error label, message, and the offending container identifier.
  • Constructor Details

    • ServiceBlacklistedExceptionMapper

      public ServiceBlacklistedExceptionMapper()
  • Method Details