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/GS3MGPPRetrieve.java

    r9784 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;
     
    8081     * <nodeContent>text content or other elements</nodeContent>
    8182     */
    82     protected Element getNodeContent(String doc_id) {
     83    protected Element getNodeContent(String doc_id) throws GSException {
    8384    if (GS3OID.isDocTop(doc_id) && database.isHierarchicalDocument(doc_id)) {
    8485        // if we have a whole doc id, and the document is hierarchical,
Note: See TracChangeset for help on using the changeset viewer.