01: /*
02: * Enhydra Java Application Server Project
03: *
04: * The contents of this file are subject to the Enhydra Public License
05: * Version 1.1 (the "License"); you may not use this file except in
06: * compliance with the License. You may obtain a copy of the License on
07: * the Enhydra web site ( http://www.enhydra.org/ ).
08: *
09: * Software distributed under the License is distributed on an "AS IS"
10: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11: * the License for the specific terms governing rights and limitations
12: * under the License.
13: *
14: * The Initial Developer of the Enhydra Application Server is Lutris
15: * Technologies, Inc. The Enhydra Application Server and portions created
16: * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17: * All Rights Reserved.
18: *
19: * Contributor(s):
20: *
21: * $Id: DatabaseManagerException.java,v 1.1 2007-01-24 16:59:09 sinisa Exp $
22: */
23: package com.lutris.appserver.server.sql;
24:
25: import org.enhydra.dods.exceptions.DodsBaseException;
26:
27: /**
28: * Exception for database manager failures. These are errors detected
29: * directly by the database manager rather than by JDBC.
30: *
31: * @since LBS1.8
32: * @author Paul Morgan
33: * @version $Revision: 1.1 $
34: */
35: public class DatabaseManagerException extends DodsBaseException {
36:
37: /**
38: * Construct with required messsage.
39: *
40: * @param msg
41: * Detailed message describing the exception.
42: */
43: public DatabaseManagerException(String msg) {
44: super (msg);
45: }
46:
47: /**
48: * Construct with a message and associated causing exception.
49: *
50: * @param msg The message associated with the exception.
51: * @param cause The error or exception that cause this
52: * exception.
53: */
54: public DatabaseManagerException(String msg, Throwable cause) {
55: super (msg, cause);
56: }
57:
58: /**
59: * Construct from a causing exception.
60: *
61: * @param cause The error or exception that cause this
62: * exception. The message will be this object's messasge.
63: */
64: public DatabaseManagerException(Throwable cause) {
65: super(cause);
66: }
67: }
|