Changeset 10634
- Timestamp:
- 2005-09-26T11:07:14+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java
r10586 r10634 1265 1265 // Check the delete worked 1266 1266 if (index_dir.exists()) { 1267 throw new Exception( "Index directory could not be removed.");1267 throw new Exception(Dictionary.get("CollectionManager.Index_Not_Deleted")); 1268 1268 } 1269 1269 } … … 1271 1271 // Move the building directory to become the new index directory 1272 1272 if (building_dir.renameTo(index_dir) == false) { 1273 throw new Exception( "Build directory could not be moved.");1273 throw new Exception(Dictionary.get("CollectionManager.Build_Not_Moved")); 1274 1274 } 1275 1275 } … … 1281 1281 } 1282 1282 catch (Exception exception) { 1283 JOptionPane.showMessageDialog(Gatherer.g_man, "Exception detected during collection install.\nMost likely caused by Windows or Local Library holding locks on files:\n" + exception.getMessage(), "Error", JOptionPane.ERROR_MESSAGE);1283 JOptionPane.showMessageDialog(Gatherer.g_man, Dictionary.get("CollectionManager.Install_Exception", exception.getMessage()), "Error", JOptionPane.ERROR_MESSAGE); 1284 1284 return false; 1285 1285 }
Note:
See TracChangeset
for help on using the changeset viewer.