- Timestamp:
- 2004-10-08T09:46:12+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/collection/BuildOptions.java
r8231 r8236 7 7 import org.apache.xerces.parsers.DOMParser; 8 8 import org.greenstone.gatherer.Configuration; 9 import org.greenstone.gatherer.DebugStream; 9 10 import org.greenstone.gatherer.Gatherer; 10 11 import org.greenstone.gatherer.cdm.Argument; … … 82 83 } 83 84 else { 84 Gatherer.println("Loaded BO arguments from config.xml");85 DebugStream.println("Loaded BO arguments from config.xml"); 85 86 } 86 87 // Now take a note of the values too. … … 305 306 } 306 307 catch(Exception exception) { 307 Gatherer.println("Exception in BuildOptions.getArgument() - Unexpected but non-fatal");308 Gatherer.printStackTrace(exception);308 DebugStream.println("Exception in BuildOptions.getArgument() - Unexpected but non-fatal"); 309 DebugStream.printStackTrace(exception); 309 310 } 310 311 } … … 313 314 } 314 315 catch (Exception error) { 315 Gatherer.println("Error in BuildOptions.getArgument(): " + error);316 Gatherer.printStackTrace(error);316 DebugStream.println("Error in BuildOptions.getArgument(): " + error); 317 DebugStream.printStackTrace(error); 317 318 } 318 319 return argument; … … 344 345 } 345 346 catch (Exception error) { 346 Gatherer.printStackTrace(error);347 DebugStream.printStackTrace(error); 347 348 } 348 349 return result; … … 372 373 } 373 374 catch (Exception error) { 374 Gatherer.printStackTrace(error);375 DebugStream.printStackTrace(error); 375 376 } 376 377 return ArrayTools.arrayListToStringArray(values); … … 428 429 } 429 430 catch (Exception error) { 430 Gatherer.println("Error in BuildOptions.loadArguments(): " + error);431 Gatherer.printStackTrace(error);431 DebugStream.println("Error in BuildOptions.loadArguments(): " + error); 432 DebugStream.printStackTrace(error); 432 433 } 433 434 return arguments_element; … … 482 483 } 483 484 catch (Exception error) { 484 Gatherer.printStackTrace(error);485 DebugStream.printStackTrace(error); 485 486 } 486 487 } … … 503 504 } 504 505 catch (Exception error) { 505 Gatherer.printStackTrace(error);506 DebugStream.printStackTrace(error); 506 507 } 507 508 }
Note:
See TracChangeset
for help on using the changeset viewer.