Module utility.domain.exception
Class DomainException
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
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:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString