Module utility.domain.exception
Package uk.co.jasonmarston.kiunzi.utility.domain.exception
package uk.co.jasonmarston.kiunzi.utility.domain.exception
Provides domain-layer exception types.
All exceptions extend DomainException
and are unchecked, keeping the domain model free from checked exception handling.
-
Exception ClassesClassDescriptionException thrown when a persistence operation fails due to a data integrity constraint.Base class for all domain-layer exceptions.Exception thrown when input data violates domain-layer validation rules.Exception thrown when a requested resource cannot be found in the system.Exception thrown when a persistence operation cannot be completed.Exception thrown when an optimistic locking conflict is detected.