java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.mmm.base.exception.ApplicationException
io.github.mmm.base.exception.ObjectMismatchException
- All Implemented Interfaces:
Localizable,LocalizableObject,Serializable
An
ObjectMismatchException is thrown if an object or value does not match an expected result.- Since:
- 1.0.0
- See Also:
-
Field Summary
FieldsFields inherited from interface io.github.mmm.base.i18n.Localizable
BUNDLE_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionObjectMismatchException(Object object, Object expected) The constructor.ObjectMismatchException(Object object, Object expected, Throwable cause) The constructor. -
Method Summary
Methods inherited from class io.github.mmm.base.exception.ApplicationException
createUuid, getCode, getLocalizedMessage, getLocalizedMessage, getMessage, getNlsMessage, getNlsMessage, getUuid, isForUser, isTechnical, printStackTrace, toString, toString, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.mmm.base.i18n.Localizable
getArgument, getLocalizedMessage, toLocalizable
-
Field Details
-
MESSAGE_CODE
- See Also:
-
-
Constructor Details
-
ObjectMismatchException
The constructor.- Parameters:
object- is the object (value) that does not match as expected.expected- is the expected object (value).
-
ObjectMismatchException
The constructor.- Parameters:
object- is the object (value) that does not match as expected.expected- is the expected object (value).cause- thecause.
-