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 ExtendsRuntimeExceptionwith the following features: aUUIDunique per exception instance automatically generated once per exceptionchain. anerror codethat should be unique per exception type. distinction betweentechnicalexceptions and exceptionsintended for end-users. NOTE:
Exceptions should only occur in unexpected or undesired situations.DuplicateObjectException AnDuplicateObjectExceptionis thrown if an object was rejected because it is a duplicate.ObjectMismatchException AnObjectMismatchExceptionis thrown if an object or value does not match an expected result.ObjectNotFoundException AnObjectNotFoundExceptionis thrown if an object was requested but does not exist or could not be found.ReadOnlyException AReadOnlyExceptionis thrown if the modification of something failed because it is read-only.RuntimeIoException