Project

General

Profile

1
/**
2
 *  '$RCSfile$'
3
 *    Purpose: An Exception thrown when a new acc number is generated
4
 *             either because none was provided or it was not unique
5
 *  Copyright: 2000 Regents of the University of California and the
6
 *             National Center for Ecological Analysis and Synthesis
7
 *    Authors: Matt Jones
8
 *    Release: @release@
9
 *
10
 *   '$Author: jones $'
11
 *     '$Date: 2000-08-14 13:53:34 -0700 (Mon, 14 Aug 2000) $'
12
 * '$Revision: 349 $'
13
 */
14

    
15
package edu.ucsb.nceas.metacat;
16

    
17
/**
18
 * Exception thrown when a new accession number is generated
19
 * either because none was provided or it was not unique. The 
20
 * message contains the new Accession number
21
 */
22
public class AccessionNumberGeneratedException extends Exception {
23
  /**
24
   * Create a new AccessionNumberGeneratedException.
25
   *
26
   * @param message The new accession number that was generated.
27
   */
28
  public AccessionNumberGeneratedException(String message) {
29
    super(message);
30
  }
31
}
32

    
33
/**
34
 * '$Log$
35
 * 'Revision 1.1  2000/06/27 04:31:07  jones
36
 * 'Fixed bugs associated with the new UPDATE and DELETE functions of
37
 * 'DBWriter.  There were problematic interactions between some static
38
 * 'variables used in DBEntityResolver and the way in which the
39
 * 'Servlet objects are re-used across multiple client invocations.
40
 * '
41
 * 'Generally cleaned up error reporting.  Now all errors and success
42
 * 'results are reported as XML documents from MetaCatServlet.  Need
43
 * 'to make the command line tools do the same.
44
 * '
45
 */
(3-3/27)