Done ticket GEPAFINBE-167

This commit is contained in:
rajesh
2025-02-25 11:57:30 +05:30
parent 555a5d777a
commit fac0c3e2ec
35 changed files with 1573 additions and 13 deletions

View File

@@ -316,7 +316,7 @@ public class DocumentDao {
log.info("File for document ID {} successfully moved to deleted folder.", documentEntity.getId());
} catch (Exception e) {
log.error("Error moving file for document ID {} to deleted folder: {}", documentEntity.getId(), e.getMessage());
throw new CustomValidationException(Status.VALIDATION_ERROR, "Error occurred while moving file to deleted folder.");
throw new CustomValidationException(Status.VALIDATION_ERROR, Translator.toLocale(GepafinConstant.ERROR_MOVING_FILE_TO_DELETED_FOLDER));
}
}
}