Lines Matching defs:descriptorFilePath
295 String descriptorFilePath = path + File.separator + BACKUP_DIRECTORY_DESCRIPTOR_FILE;
296 File descriptorFile = new File(descriptorFilePath);
297 renameOldBackupDescriptorFile(descriptorFile, descriptorFilePath);
308 newDescriptorFilePath, descriptorFilePath, getExceptionMessage(e));
335 private void renameOldBackupDescriptorFile(File descriptorFile, String descriptorFilePath) throws IOException
339 String savedDescriptorFilePath = descriptorFilePath + ".save";
351 savedDescriptorFilePath, getExceptionMessage(e), descriptorFilePath, descriptorFilePath);
363 LocalizableMessage message = ERR_BACKUPDIRECTORY_CANNOT_RENAME_CURRENT_DESCRIPTOR.get(descriptorFilePath,
364 savedDescriptorFilePath, getExceptionMessage(e), descriptorFilePath, descriptorFilePath);
389 String descriptorFilePath = path + File.separator + BACKUP_DIRECTORY_DESCRIPTOR_FILE;
390 if (!new File(descriptorFilePath).exists())
392 throw new ConfigException(ERR_BACKUPDIRECTORY_NO_DESCRIPTOR_FILE.get(descriptorFilePath));
397 try (BufferedReader reader = new BufferedReader(new FileReader(descriptorFilePath)))
402 throw new ConfigException(ERR_BACKUPDIRECTORY_CANNOT_READ_CONFIG_ENTRY_DN.get(descriptorFilePath));
406 throw new ConfigException(ERR_BACKUPDIRECTORY_FIRST_LINE_NOT_DN.get(descriptorFilePath, line));
418 dnString, descriptorFilePath, de.getMessageObject());
424 dnString, descriptorFilePath, getExceptionMessage(e));