Class DomainException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.dmasone.identity.sharedkernel.domain.DomainException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IdempotencyKeyConflictException,InsufficientStockException,InvalidOrderException,InvalidStockReservationException,OrderNotFoundException,PaymentNotFoundException,ProductNotFoundException
Base exception for business rule failures that should be translated into a
structured API error response. The code is stable enough for clients and
tests, while the message remains human-readable.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DomainException
-
-
Method Details
-
code
-