Index

C D E F H J M N P S T U V 
All Classes and Interfaces|All Packages

C

code() - Method in record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ErrorResponse
Returns the value of the code record component.

D

DataIntegrityViolationExceptionMapper - Class in uk.co.jasonmarston.kiunzi.utility.exception.mapper
Maps DataIntegrityViolationException instances to HTTP 500 responses.
DataIntegrityViolationExceptionMapper() - Constructor for class uk.co.jasonmarston.kiunzi.utility.exception.mapper.DataIntegrityViolationExceptionMapper
Creates a mapper for data-integrity violations.
DomainExceptionMapper - Class in uk.co.jasonmarston.kiunzi.utility.exception.mapper
Maps unclassified DomainException instances to HTTP 500 responses.
DomainExceptionMapper() - Constructor for class uk.co.jasonmarston.kiunzi.utility.exception.mapper.DomainExceptionMapper
Creates a mapper for unclassified domain exceptions.
DomainInvariantViolationExceptionMapper - Class in uk.co.jasonmarston.kiunzi.utility.exception.mapper
Maps DomainInvariantViolationException instances to HTTP 409 responses with detailed validation errors.
DomainInvariantViolationExceptionMapper() - Constructor for class uk.co.jasonmarston.kiunzi.utility.exception.mapper.DomainInvariantViolationExceptionMapper
Creates a mapper for domain invariant violations.
DomainValidationExceptionMapper - Class in uk.co.jasonmarston.kiunzi.utility.exception.mapper
Maps DomainValidationException instances to HTTP 400 responses.
DomainValidationExceptionMapper() - Constructor for class uk.co.jasonmarston.kiunzi.utility.exception.mapper.DomainValidationExceptionMapper
Creates a mapper for domain validation exceptions.

E

equals(Object) - Method in record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ErrorResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ValidationErrorResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ValidationErrorResponse.Violation
Indicates whether some other object is "equal to" this one.
ErrorResponse - Record Class in uk.co.jasonmarston.kiunzi.utility.exception.mapper.response
Generic error payload returned when a request fails without field-level validation details.
ErrorResponse(String, String) - Constructor for record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ErrorResponse
Creates an instance of a ErrorResponse record class.

F

field() - Method in record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ValidationErrorResponse.Violation
Returns the value of the field record component.

H

hashCode() - Method in record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ErrorResponse
Returns a hash code value for this object.
hashCode() - Method in record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ValidationErrorResponse
Returns a hash code value for this object.
hashCode() - Method in record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ValidationErrorResponse.Violation
Returns a hash code value for this object.

J

JakartaNotFoundExceptionMapper - Class in uk.co.jasonmarston.kiunzi.utility.exception.mapper
Maps Jakarta REST NotFoundException instances to HTTP 404 responses.
JakartaNotFoundExceptionMapper() - Constructor for class uk.co.jasonmarston.kiunzi.utility.exception.mapper.JakartaNotFoundExceptionMapper
Creates a mapper for Jakarta REST not-found exceptions.

M

message() - Method in record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ErrorResponse
Returns the value of the message record component.
message() - Method in record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ValidationErrorResponse.Violation
Returns the value of the message record component.

N

NotFoundExceptionMapper - Class in uk.co.jasonmarston.kiunzi.utility.exception.mapper
Maps domain NotFoundException instances to HTTP 404 responses.
NotFoundExceptionMapper() - Constructor for class uk.co.jasonmarston.kiunzi.utility.exception.mapper.NotFoundExceptionMapper
Creates a mapper for domain not-found exceptions.

P

PersistenceExceptionMapper - Class in uk.co.jasonmarston.kiunzi.utility.exception.mapper
Maps PersistenceException instances to HTTP 500 responses.
PersistenceExceptionMapper() - Constructor for class uk.co.jasonmarston.kiunzi.utility.exception.mapper.PersistenceExceptionMapper
Creates a mapper for persistence exceptions.

S

status() - Method in record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ValidationErrorResponse
Returns the value of the status record component.

T

ThrowableExceptionMapper - Class in uk.co.jasonmarston.kiunzi.utility.exception.mapper
Fallback exception mapper that converts otherwise-unhandled throwables into HTTP 500 responses.
ThrowableExceptionMapper() - Constructor for class uk.co.jasonmarston.kiunzi.utility.exception.mapper.ThrowableExceptionMapper
Creates the fallback mapper for otherwise-unhandled throwables.
title() - Method in record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ValidationErrorResponse
Returns the value of the title record component.
toResponse(NotFoundException) - Method in class uk.co.jasonmarston.kiunzi.utility.exception.mapper.JakartaNotFoundExceptionMapper
Converts the supplied Jakarta REST not-found exception into an HTTP response.
toResponse(Throwable) - Method in class uk.co.jasonmarston.kiunzi.utility.exception.mapper.ThrowableExceptionMapper
Converts the supplied throwable into an HTTP response.
toResponse(DataIntegrityViolationException) - Method in class uk.co.jasonmarston.kiunzi.utility.exception.mapper.DataIntegrityViolationExceptionMapper
Converts the supplied data-integrity exception into an HTTP response.
toResponse(DomainException) - Method in class uk.co.jasonmarston.kiunzi.utility.exception.mapper.DomainExceptionMapper
Converts the supplied domain exception into an HTTP response.
toResponse(DomainValidationException) - Method in class uk.co.jasonmarston.kiunzi.utility.exception.mapper.DomainValidationExceptionMapper
Converts the supplied domain validation exception into an HTTP response.
toResponse(NotFoundException) - Method in class uk.co.jasonmarston.kiunzi.utility.exception.mapper.NotFoundExceptionMapper
Converts the supplied domain not-found exception into an HTTP response.
toResponse(PersistenceException) - Method in class uk.co.jasonmarston.kiunzi.utility.exception.mapper.PersistenceExceptionMapper
Converts the supplied persistence exception into an HTTP response.
toResponse(VersionMismatchException) - Method in class uk.co.jasonmarston.kiunzi.utility.exception.mapper.VersionMismatchExceptionMapper
Converts the supplied version-mismatch exception into an HTTP response.
toResponse(DomainInvariantViolationException) - Method in class uk.co.jasonmarston.kiunzi.utility.exception.mapper.DomainInvariantViolationExceptionMapper
Converts the supplied domain invariant violation into an HTTP response.
toString() - Method in record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ErrorResponse
Returns a string representation of this record class.
toString() - Method in record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ValidationErrorResponse
Returns a string representation of this record class.
toString() - Method in record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ValidationErrorResponse.Violation
Returns a string representation of this record class.

U

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.
uk.co.jasonmarston.kiunzi.utility.exception.mapper.response - package uk.co.jasonmarston.kiunzi.utility.exception.mapper.response
Defines outbound REST payload models returned by the client API.
utility.exception.mapper - module utility.exception.mapper
Provides HTTP exception-mapping infrastructure.

V

ValidationErrorResponse - Record Class in uk.co.jasonmarston.kiunzi.utility.exception.mapper.response
Error payload returned when one or more validation or invariant violations must be reported to the client.
ValidationErrorResponse(String, int, List<ValidationErrorResponse.Violation>) - Constructor for record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ValidationErrorResponse
Creates an instance of a ValidationErrorResponse record class.
ValidationErrorResponse.Violation - Record Class in uk.co.jasonmarston.kiunzi.utility.exception.mapper.response
Describes a single validation failure within a ValidationErrorResponse.
VersionMismatchExceptionMapper - Class in uk.co.jasonmarston.kiunzi.utility.exception.mapper
Maps VersionMismatchException instances to HTTP 409 conflict responses.
VersionMismatchExceptionMapper() - Constructor for class uk.co.jasonmarston.kiunzi.utility.exception.mapper.VersionMismatchExceptionMapper
Creates a mapper for optimistic-locking version mismatches.
Violation(String, String) - Constructor for record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ValidationErrorResponse.Violation
Creates an instance of a Violation record class.
violations() - Method in record class uk.co.jasonmarston.kiunzi.utility.exception.mapper.response.ValidationErrorResponse
Returns the value of the violations record component.
C D E F H J M N P S T U V 
All Classes and Interfaces|All Packages