Project

General

Profile

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
 *    Release: @release@
10
 *
11
 *   '$Author: jones $'
12
 *     '$Date: 2000-08-14 13:53:34 -0700 (Mon, 14 Aug 2000) $'
13
 * '$Revision: 349 $'
14
 */
15

    
16
package edu.ucsb.nceas.metacat;
17

    
18
/**
19
 * Exception thrown when an error occurs because a document with a
20
 * given ID could not be found in the metacat database.  
21
 */
22
public class McdbDocNotFoundException extends McdbException {
23

    
24
  /**
25
   * Create a new McdbDocNotFoundException.
26
   */
27
  public McdbDocNotFoundException() {
28
    super();
29
  }
30

    
31
  /**
32
   * Create a new McdbDocNotFoundException.
33
   *
34
   * @param message The error or warning message.
35
   */
36
  public McdbDocNotFoundException(String message) {
37
    super(message);
38
  }
39

    
40
  /**
41
   * Create a new McdbDocNotFoundException.
42
   *
43
   * @param e The exception to tunnel inside this exception
44
   */
45
  public McdbDocNotFoundException(Exception e) {
46
    super(e);
47
  }
48

    
49
  /**
50
   * Create a new McdbDocNotFoundException.
51
   *
52
   * @param message The error or warning message.
53
   * @param e The exception to tunnel inside this exception
54
   */
55
  public McdbDocNotFoundException(String message, Exception e) {
56
    super(message, e);
57
  }
58
}
(17-17/27)