Ignore:
Timestamp:
2005-05-04T16:15:31+12:00 (19 years ago)
Author:
kjdon
Message:

some methods from documentretrieve classes now throw GSExceptions. am trying to make it so that no Exceptions get to the user interface. returning a lot more error elements too, in the hope that they may be useful for other people

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ant-install-branch/gsdl3/src/java/org/greenstone/gsdl3/service/GS2MGPPRetrieve.java

    r8959 r9815  
    2121// Greenstone classes
    2222import org.greenstone.mgpp.*;
     23import org.greenstone.gsdl3.core.GSException;
    2324import org.greenstone.gsdl3.util.GSFile;
    2425import org.greenstone.gsdl3.util.GSXML;
     
    7980     * <nodeContent>text content or other elements</nodeContent>
    8081     */
    81     protected Element getNodeContent(String doc_id) {
     82    protected Element getNodeContent(String doc_id) throws GSException {
    8283    String lang = "en"; //  **********
    8384    long doc_num = this.gdbm_src.OID2Docnum(doc_id);
Note: See TracChangeset for help on using the changeset viewer.