Project

General

Profile

« Previous | Next » 

Revision 1784

Added by Matt Jones over 20 years ago

Implemented the 'read' API call. Some more to go...

View differences:

Metacat.java
55 55
     * @return a Reader for accessing the document
56 56
     * @throws InsufficientKarmaException when the user has insufficent rights 
57 57
     *                                    for the operation
58
     * @throws MetacatInaccessibleException when the metacat server can not be
59
     *                                    reached or does not respond
60
     * @throws MetacatException when the metacat server generates another error
58 61
     */
59
    public Reader read(String docid) throws InsufficientKarmaException;
62
    public Reader read(String docid) throws InsufficientKarmaException,
63
        MetacatInaccessibleException, MetacatException;
60 64

  
61 65
    /**
62 66
     * Query the metacat document store with the given metacat-compatible 

Also available in: Unified diff