public class MissingMandatoryPropertiesException extends OperationsException
Constructor and Description |
---|
MissingMandatoryPropertiesException(LocalizableMessage ufn,
Collection<PropertyException> causes,
boolean isCreate)
Creates a new missing mandatory properties exception with the provided
causes.
|
Modifier and Type | Method and Description |
---|---|
PropertyException |
getCause()
Gets the first exception that caused this exception.
|
Collection<PropertyException> |
getCauses()
Gets an unmodifiable collection view of the causes of this exception.
|
LocalizableMessage |
getUserFriendlyName()
Gets the user friendly name of the component that caused this exception.
|
boolean |
isCreate()
Indicates whether this exception was thrown during managed object
creation or during modification.
|
getMessageObject
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MissingMandatoryPropertiesException(LocalizableMessage ufn, Collection<PropertyException> causes, boolean isCreate)
ufn
- The user friendly name of the component that caused this
exception.causes
- The causes of this exception (must be non-null
and non-empty).isCreate
- Indicates whether the exception occurred during managed object
creation.public PropertyException getCause()
public Collection<PropertyException> getCauses()
public LocalizableMessage getUserFriendlyName()
public boolean isCreate()
true
if this exception was thrown during
managed object creation.Copyright 2010-2022 ForgeRock AS.