Changeset 16251
- Timestamp:
- 2008-06-30T15:08:32+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/collection/CollectionManager.java
r16250 r16251 1233 1233 1234 1234 } catch (IOException ioe) { 1235 Debug .printStackTrace(ioe);1235 DebugStream.printStackTrace(ioe); 1236 1236 } 1237 1237 … … 1261 1261 bor.close(); 1262 1262 } catch (IOException ioe) { 1263 Debug .printStackTrace(ioe);1263 DebugStream.printStackTrace(ioe); 1264 1264 } 1265 1265 … … 1269 1269 new_collection_file.renameTo(collection_file); 1270 1270 } catch (Exception e) { 1271 Debug .printStackTrace(ioe);1271 DebugStream.printStackTrace(e); 1272 1272 } 1273 1273 } 1274 1275 // Open the collection file 1276 this.collection = new Collection(collection_file); 1277 if (collection.error) { 1278 collection = null; 1279 // Remove lock file 1280 if (lock_file.exists()) { 1281 lock_file.delete(); 1282 } 1283 throw(new Exception(Dictionary.get("CollectionManager.Missing_Config"))); // this error message does not agree with the error 1284 } 1285 1274 } 1275 1276 // Open the collection file 1277 this.collection = new Collection(collection_file); 1278 if (collection.error) { 1279 collection = null; 1280 // Remove lock file 1281 if (lock_file.exists()) { 1282 lock_file.delete(); 1283 } 1284 throw(new Exception(Dictionary.get("CollectionManager.Missing_Config"))); // this error message does not agree with the error 1285 } 1286 1287 if (!Gatherer.isGsdlRemote) { 1286 1288 scheduling(); 1287 1289 }
Note:
See TracChangeset
for help on using the changeset viewer.