01: /* DSpaceSWORDException.java
02: *
03: * Copyright (c) 2007, Aberystwyth University
04: *
05: * 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
09: * are met:
10: *
11: * - Redistributions of source code must retain the above
12: * copyright notice, this list of conditions and the
13: * following disclaimer.
14: *
15: * - Redistributions in binary form must reproduce the above copyright
16: * notice, this list of conditions and the following disclaimer in
17: * the documentation and/or other materials provided with the
18: * distribution.
19: *
20: * - Neither the name of the Centre for Advanced Software and
21: * Intelligent Systems (CASIS) nor the names of its
22: * contributors may be used to endorse or promote products derived
23: * from this software without specific prior written permission.
24: *
25: * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26: * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27: * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28: * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
29: * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30: * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31: * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32: * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
33: * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
34: * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
35: * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36: * SUCH DAMAGE.
37: */
38:
39: package org.dspace.sword;
40:
41: /**
42: * This Exception class can be thrown by the internals of the
43: * DSpace SWORD implementation
44: *
45: * @author Richard Jones
46: *
47: */
48: public class DSpaceSWORDException extends Exception {
49:
50: public DSpaceSWORDException() {
51: super ();
52: }
53:
54: public DSpaceSWORDException(String arg0, Throwable arg1) {
55: super (arg0, arg1);
56: }
57:
58: public DSpaceSWORDException(String arg0) {
59: super (arg0);
60: }
61:
62: public DSpaceSWORDException(Throwable arg0) {
63: super(arg0);
64: }
65:
66: }
|