- Timestamp:
- 2006-11-24T14:54:02+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/metadata/DocXMLFileManager.java
r8164 r13337 30 30 import java.io.*; 31 31 import java.util.*; 32 import org.greenstone.gatherer.DebugStream; 32 33 33 34 … … 83 84 { 84 85 DocXMLFile doc_xml_file = new DocXMLFile(doc_xml_file_file.getAbsolutePath()); 85 doc_xml_file.skimFile(); 86 doc_xml_files.add(doc_xml_file); 86 try { 87 doc_xml_file.skimFile(); 88 doc_xml_files.add(doc_xml_file); 89 } 90 catch (Exception exception) { 91 // We catch any exceptions here so errors in doc.xml files don't stop the collection from loading 92 System.err.println("Error: Could not skim doc.xml file " + doc_xml_file.getAbsolutePath()); 93 DebugStream.printStackTrace(exception); 94 } 87 95 } 88 96 }
Note:
See TracChangeset
for help on using the changeset viewer.