Module utility.exception.mapper
Package uk.co.jasonmarston.kiunzi.utility.exception.mapper
package uk.co.jasonmarston.kiunzi.utility.exception.mapper
Provides JAX-RS exception mappers for the REST client API.
Types in this package translate domain, persistence, and framework exceptions into structured HTTP error responses.
-
ClassesClassDescriptionMaps
DataIntegrityViolationExceptioninstances to HTTP 500 responses.Maps unclassifiedDomainExceptioninstances to HTTP 500 responses.MapsDomainInvariantViolationExceptioninstances to HTTP 409 responses with detailed validation errors.MapsDomainValidationExceptioninstances to HTTP 400 responses.Maps Jakarta RESTNotFoundExceptioninstances to HTTP 404 responses.Maps domainNotFoundExceptioninstances to HTTP 404 responses.MapsPersistenceExceptioninstances to HTTP 500 responses.Fallback exception mapper that converts otherwise-unhandled throwables into HTTP 500 responses.MapsVersionMismatchExceptioninstances to HTTP 409 conflict responses.