01: /*
02:
03: This software is OSI Certified Open Source Software.
04: OSI Certified is a certification mark of the Open Source Initiative.
05:
06: The license (Mozilla version 1.0) can be read at the MMBase site.
07: See http://www.MMBase.org/license
08:
09: */
10: package org.mmbase.storage;
11:
12: /**
13: * This error gets thrown when something goes seriously - and likely unrecoverably - wrong in the storage layer.
14: * This includes database connection failures at startup, non-existing vital resources, etc.
15: * In general, a StorageError should indicate that a storage layer is unuseable.
16: * This will normally mean MMBase will fail to start.
17: *
18: * @since MMBase-1.7
19: * @author Pierre van Rooden
20: * @version $Id: StorageError.java,v 1.4 2003/11/18 14:58:33 michiel Exp $
21: */
22: public class StorageError extends Error {
23:
24: //javadoc is inherited
25: public StorageError() {
26: super ();
27: }
28:
29: //javadoc is inherited
30: public StorageError(String message) {
31: super (message);
32: }
33:
34: //javadoc is inherited
35: public StorageError(Throwable cause) {
36: super (cause.getMessage(), cause);
37: }
38:
39: //javadoc is inherited
40: public StorageError(String message, Throwable cause) {
41: super(message, cause);
42: }
43:
44: }
|