Module io.github.mmm.base
Package io.github.mmm.base.exception
Contains
ApplicationException
and derived exception classes for common cases.-
Exception Summary Exception Description ApplicationException ExtendsRuntimeException
with the following features: aUUID
unique per exception instance automatically generated once per exceptionchain
. anerror code
that should be unique per exception type. distinction betweentechnical
exceptions and exceptionsintended for end-users
. NOTE:
Exceptions should only occur in unexpected or undesired situations.DuplicateObjectException AnDuplicateObjectException
is thrown if an object was rejected because it is a duplicate.ObjectMismatchException AnObjectMismatchException
is thrown if an object or value does not match an expected result.ObjectNotFoundException AnObjectNotFoundException
is thrown if an object was requested but does not exist or could not be found.ReadOnlyException AReadOnlyException
is thrown if the modification of something failed because it is read-only.RuntimeIoException