java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
uk.co.jasonmarston.kiunzi.utility.domain.exception.DomainException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DataIntegrityViolationException, DomainValidationException, NotFoundException, PersistenceException, VersionMismatchException

public abstract class DomainException extends RuntimeException
Base class for all domain-layer exceptions.

Domain exceptions are unchecked (RuntimeException) and represent error conditions that originate within the domain model. Concrete subclasses such as DomainValidationException and NotFoundException refine the failure semantics.

See Also: