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:
java.io.Serializable
public class FileRulesIllegalDurationModeUpdateException extends ReferentialException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileRulesIllegalDurationModeUpdateException(java.lang.String message, java.util.List<FileRulesModel> usedRulesWithDurationModeUpdate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<FileRulesModel>
getUsedRulesWithDurationModeUpdate()
-
Methods inherited from class fr.gouv.vitam.common.exception.VitamException
getVitamError, setVitamError
-
-
-
-
Constructor Detail
-
FileRulesIllegalDurationModeUpdateException
public FileRulesIllegalDurationModeUpdateException(java.lang.String message, java.util.List<FileRulesModel> usedRulesWithDurationModeUpdate)
- Parameters:
message
- message to associate with the exceptionusedRulesWithDurationModeUpdate
-
-
-
Method Detail
-
getUsedRulesWithDurationModeUpdate
public java.util.List<FileRulesModel> getUsedRulesWithDurationModeUpdate()
-
-