Ignore:
Timestamp:
2004-10-08T09:46:12+13:00 (20 years ago)
Author:
mdewsnip
Message:

Replaced all Gatherer.print* with DebugStream.print*.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/collection/BuildOptions.java

    r8231 r8236  
    77import org.apache.xerces.parsers.DOMParser;
    88import org.greenstone.gatherer.Configuration;
     9import org.greenstone.gatherer.DebugStream;
    910import org.greenstone.gatherer.Gatherer;
    1011import org.greenstone.gatherer.cdm.Argument;
     
    8283    }
    8384    else {
    84         Gatherer.println("Loaded BO arguments from config.xml");
     85        DebugStream.println("Loaded BO arguments from config.xml");
    8586    }
    8687    // Now take a note of the values too.
     
    305306            }
    306307            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);
    309310            }
    310311            }
     
    313314    }
    314315    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);
    317318    }
    318319    return argument;
     
    344345    }
    345346    catch (Exception error) {
    346         Gatherer.printStackTrace(error);
     347        DebugStream.printStackTrace(error);
    347348    }
    348349    return result;
     
    372373    }
    373374    catch (Exception error) {
    374         Gatherer.printStackTrace(error);
     375        DebugStream.printStackTrace(error);
    375376    }
    376377    return ArrayTools.arrayListToStringArray(values);
     
    428429    }
    429430    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);
    432433    }
    433434    return arguments_element;
     
    482483    }
    483484    catch (Exception error) {
    484         Gatherer.printStackTrace(error);
     485        DebugStream.printStackTrace(error);
    485486    }
    486487    }
     
    503504    }
    504505    catch (Exception error) {
    505         Gatherer.printStackTrace(error);
     506        DebugStream.printStackTrace(error);
    506507    }
    507508    }
Note: See TracChangeset for help on using the changeset viewer.