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
|
*
|
9
|
* '$Author: jones $'
|
10
|
* '$Date: 2000-06-26 21:31:07 -0700 (Mon, 26 Jun 2000) $'
|
11
|
* '$Revision: 204 $'
|
12
|
*/
|
13
|
|
14
|
package edu.ucsb.nceas.metacat;
|
15
|
|
16
|
/**
|
17
|
* Exception thrown when a new accession number is generated
|
18
|
* either because none was provided or it was not unique. The
|
19
|
* message contains the new Accession number
|
20
|
*/
|
21
|
public class AccessionNumberGeneratedException extends Exception {
|
22
|
/**
|
23
|
* Create a new AccessionNumberGeneratedException.
|
24
|
*
|
25
|
* @param message The new accession number that was generated.
|
26
|
*/
|
27
|
public AccessionNumberGeneratedException(String message) {
|
28
|
super(message);
|
29
|
}
|
30
|
}
|
31
|
|
32
|
/**
|
33
|
* '$Log$
|
34
|
*/
|