java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.mmm.base.exception.ApplicationException
io.github.mmm.validation.ValidationFailedException
- All Implemented Interfaces:
Localizable
,LocalizableObject
,Serializable
ApplicationException
if a validation failed.- See Also:
-
Field Summary
Fields inherited from interface io.github.mmm.base.i18n.Localizable
BUNDLE_PREFIX
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.mmm.base.exception.ApplicationException
createUuid, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getMessage, getNlsMessage, getNlsMessage, getUuid, isForUser, printStackTrace, toString, toString, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.github.mmm.base.i18n.Localizable
getArgument, toLocalizable
-
Constructor Details
-
ValidationFailedException
The constructor.- Parameters:
result
- thevalidation result
.
-
-
Method Details
-
getResult
- Returns:
- the
ValidationResult
. Shall never bevalid
.
-
getCode
- Overrides:
getCode
in classApplicationException
-
isTechnical
public boolean isTechnical()- Overrides:
isTechnical
in classApplicationException
-