public class MandatoryValueMissingException extends IRuntimeException
Produces a standardized, localized error message detailing the missing attribute names and optionally the enclosing parent object.
| Constructor and Description |
|---|
MandatoryValueMissingException(java.util.List<java.lang.String> missingValues)
Constructs an exception generating a localized error message for missing values.
|
MandatoryValueMissingException(java.util.List<java.lang.String> missingValues,
java.lang.Object forObject)
Constructs an exception generating a localized error message for missing values on a parent object.
|
MandatoryValueMissingException(java.lang.String msg)
Constructs an exception with a custom error message.
|
MandatoryValueMissingException(java.lang.String msg,
java.lang.Throwable cause)
Constructs an exception with a custom error message and underlying cause.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getForObject()
Returns the parent object missing the values, if specified.
|
java.util.List<java.lang.String> |
getMissingValues()
Returns an unmodifiable list of the missing attribute or value names.
|
createFromStackTraceString, dumpJVMStack, dumpJVMStack, dumpStack, dumpStack, dumpStack, filterAndDumpStackTrace, filterStackTrace, filterStackTrace, getAllCauses, getCause, getCauseMethod, getCauseOfClass, getDeepestCauseOfClass, getErrortext, getErrortext, getRootCause, getStackTraceAsString, getStackTraceAsString, getStackTraceAsString, getStackTraceAsString, getStackTraceAsString, getStackTraceAsString, getStackTraceElement, getStackTraceElement, hasCauseOfClass, isKnownWrapperException, ofStackTraceString, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTraceAsCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCauseOfClass, getDeepestCauseOfClass, getRootCause, getThisAsThrowable, hasCauseOfClass, printStackTracepublic MandatoryValueMissingException(java.lang.String msg)
msg - the detail error messagepublic MandatoryValueMissingException(java.lang.String msg,
java.lang.Throwable cause)
msg - the detail error messagecause - the underlying causepublic MandatoryValueMissingException(java.util.List<java.lang.String> missingValues)
missingValues - list of missing attribute or value namespublic MandatoryValueMissingException(java.util.List<java.lang.String> missingValues,
java.lang.Object forObject)
missingValues - list of missing attribute or value namesforObject - the parent object missing these values, may be nullpublic java.util.List<java.lang.String> getMissingValues()
public java.lang.Object getForObject()
nullCopyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.