01: /*
02: * ItemCountException.java
03: *
04: * Copyright (c) 2002-2007, Hewlett-Packard Company and Massachusetts
05: * Institute of Technology. All rights reserved.
06: *
07: * Redistribution and use in source and binary forms, with or without
08: * modification, are permitted provided that the following conditions are
09: * met:
10: *
11: * - Redistributions of source code must retain the above copyright
12: * notice, this list of conditions and the following disclaimer.
13: *
14: * - Redistributions in binary form must reproduce the above copyright
15: * notice, this list of conditions and the following disclaimer in the
16: * documentation and/or other materials provided with the distribution.
17: *
18: * - Neither the name of the Hewlett-Packard Company nor the name of the
19: * Massachusetts Institute of Technology nor the names of their
20: * contributors may be used to endorse or promote products derived from
21: * this software without specific prior written permission.
22: *
23: * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24: * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25: * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
26: * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
27: * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
28: * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
29: * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
30: * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
31: * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
32: * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
33: * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
34: * DAMAGE.
35: */
36: package org.dspace.browse;
37:
38: /**
39: * Exception type to handle item count specific problems
40: *
41: * @author Richard Jones
42: *
43: */
44: public class ItemCountException extends Exception {
45:
46: public ItemCountException() {
47: }
48:
49: public ItemCountException(String message) {
50: super (message);
51: }
52:
53: public ItemCountException(Throwable cause) {
54: super (cause);
55: }
56:
57: public ItemCountException(String message, Throwable cause) {
58: super(message, cause);
59: }
60:
61: }
|