1
|
/**
|
2
|
* '$RCSfile$'
|
3
|
* Purpose: An Exception thrown when an error occurs because a
|
4
|
* document with a given ID could not be found in the
|
5
|
* metacat database.
|
6
|
* Copyright: 2000 Regents of the University of California and the
|
7
|
* National Center for Ecological Analysis and Synthesis
|
8
|
* Authors: Matt Jones
|
9
|
*
|
10
|
* '$Author: jones $'
|
11
|
* '$Date: 2000-08-11 15:20:04 -0700 (Fri, 11 Aug 2000) $'
|
12
|
* '$Revision: 343 $'
|
13
|
*/
|
14
|
|
15
|
package edu.ucsb.nceas.metacat;
|
16
|
|
17
|
/**
|
18
|
* Exception thrown when an error occurs because a document with a
|
19
|
* given ID could not be found in the metacat database.
|
20
|
*/
|
21
|
public class McdbDocNotFoundException extends McdbException {
|
22
|
|
23
|
/**
|
24
|
* Create a new McdbDocNotFoundException.
|
25
|
*/
|
26
|
public McdbDocNotFoundException() {
|
27
|
super();
|
28
|
}
|
29
|
|
30
|
/**
|
31
|
* Create a new McdbDocNotFoundException.
|
32
|
*
|
33
|
* @param message The error or warning message.
|
34
|
*/
|
35
|
public McdbDocNotFoundException(String message) {
|
36
|
super(message);
|
37
|
}
|
38
|
|
39
|
/**
|
40
|
* Create a new McdbDocNotFoundException.
|
41
|
*
|
42
|
* @param e The exception to tunnel inside this exception
|
43
|
*/
|
44
|
public McdbDocNotFoundException(Exception e) {
|
45
|
super(e);
|
46
|
}
|
47
|
|
48
|
/**
|
49
|
* Create a new McdbDocNotFoundException.
|
50
|
*
|
51
|
* @param message The error or warning message.
|
52
|
* @param e The exception to tunnel inside this exception
|
53
|
*/
|
54
|
public McdbDocNotFoundException(String message, Exception e) {
|
55
|
super(message, e);
|
56
|
}
|
57
|
}
|