Changeset 2699


Ignore:
Timestamp:
03/14/13 13:31:15 (11 years ago)
Author:
oschonef
Message:
  • nextRecord() and nextTerm() methods can now throw SRUException
Location:
SRUServer/trunk/src/main/java/eu/clarin/sru/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUScanResultSet.java

    r2623 r2699  
    9494     * @return <code>true</code> if the new current term is valid;
    9595     *         <code>false</code> if there are no more terms
     96     * @throws SRUException
     97     *             if an error occurred while fetching the next term
    9698     */
    97     public abstract boolean nextTerm();
     99    public abstract boolean nextTerm() throws SRUException;
    98100
    99101
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUSearchResultSet.java

    r2644 r2699  
    123123     * @return <code>true</code> if the new current record is valid;
    124124     *         <code>false</code> if there are no more records
    125      */
    126     public abstract boolean nextRecord();
     125     * @throws SRUException
     126     *             if an error occurred while fetching the next record
     127     */
     128    public abstract boolean nextRecord() throws SRUException;
    127129
    128130
Note: See TracChangeset for help on using the changeset viewer.