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: 2001-01-18 11:52:00 -0800 (Thu, 18 Jan 2001) $'
13
 * '$Revision: 669 $'
14
 *
15
 * This program is free software; you can redistribute it and/or modify
16
 * it under the terms of the GNU General Public License as published by
17
 * the Free Software Foundation; either version 2 of the License, or
18
 * (at your option) any later version.
19
 *
20
 * This program is distributed in the hope that it will be useful,
21
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
 * GNU General Public License for more details.
24
 *
25
 * You should have received a copy of the GNU General Public License
26
 * along with this program; if not, write to the Free Software
27
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28
 */
29

    
30
package edu.ucsb.nceas.metacat;
31

    
32
/**
33
 * Exception thrown when an error occurs because a document with a
34
 * given ID could not be found in the metacat database.  
35
 */
36
public class McdbDocNotFoundException extends McdbException {
37

    
38
  /**
39
   * Create a new McdbDocNotFoundException.
40
   */
41
  public McdbDocNotFoundException() {
42
    super();
43
  }
44

    
45
  /**
46
   * Create a new McdbDocNotFoundException.
47
   *
48
   * @param message The error or warning message.
49
   */
50
  public McdbDocNotFoundException(String message) {
51
    super(message);
52
  }
53

    
54
  /**
55
   * Create a new McdbDocNotFoundException.
56
   *
57
   * @param e The exception to tunnel inside this exception
58
   */
59
  public McdbDocNotFoundException(Exception e) {
60
    super(e);
61
  }
62

    
63
  /**
64
   * Create a new McdbDocNotFoundException.
65
   *
66
   * @param message The error or warning message.
67
   * @param e The exception to tunnel inside this exception
68
   */
69
  public McdbDocNotFoundException(String message, Exception e) {
70
    super(message, e);
71
  }
72
}
(30-30/43)