Project

General

Profile

« Previous | Next » 

Revision 5350

Added by berkley almost 14 years ago

amost have update working. still need to get unit test squared away.

View differences:

AccessionNumber.java
155 155
      } else if ( action.equals("UPDATE") &&
156 156
                  reversionNumber <= getLastRevisionNumber(docid) ) {
157 157
        throw new AccessionNumberException
158
                 ("Next revision number couldn't be less than or equal "
158
                 ("Next revision number can't be less than or equal to "
159 159
                                              + getLastRevisionNumber(docid));
160 160

  
161 161
      // Revision number is not the recent one; throw an exception

Also available in: Unified diff