Class FileRulesIllegalDurationModeUpdateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fr.gouv.vitam.common.exception.VitamException
fr.gouv.vitam.functional.administration.common.exception.ReferentialException
fr.gouv.vitam.functional.administration.common.exception.FileRulesIllegalDurationModeUpdateException
- All Implemented Interfaces:
Serializable
Exception thrown when duration mode update in illegal.
Possible cases are :
- Set a used rule duration for a rule without duration set (eg. AppraisalRule without duration used by a unit, for which duration is to be set to a specific duration like 1 MONTH)
- Unset a used rule duration for a rule with an existing duration (eg. AppraisalRule with 1 MONTH duration used by a unit, for which duration is to be unset)
- See Also:
-
Constructor Summary
ConstructorDescriptionFileRulesIllegalDurationModeUpdateException
(String message, List<FileRulesModel> usedRulesWithDurationModeUpdate) -
Method Summary
Methods inherited from class fr.gouv.vitam.common.exception.VitamException
getVitamError, setVitamError
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FileRulesIllegalDurationModeUpdateException
public FileRulesIllegalDurationModeUpdateException(String message, List<FileRulesModel> usedRulesWithDurationModeUpdate) - Parameters:
message
- message to associate with the exceptionusedRulesWithDurationModeUpdate
-
-
-
Method Details
-
getUsedRulesWithDurationModeUpdate
-