KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > exceptions > database > JahiaDatabaseConnectionException


1 /*
2  * ____.
3  * __/\ ______| |__/\. _______
4  * __ .____| | \ | +----+ \
5  * _______| /--| | | - \ _ | : - \_________
6  * \\______: :---| : : | : | \________>
7  * |__\---\_____________:______: :____|____:_____\
8  * /_____|
9  *
10  * . . . i n j a h i a w e t r u s t . . .
11  *
12  *
13  *
14  * ----- BEGIN LICENSE BLOCK -----
15  * Version: JCSL 1.0
16  *
17  * The contents of this file are subject to the Jahia Community Source License
18  * 1.0 or later (the "License"); you may not use this file except in
19  * compliance with the License. You may obtain a copy of the License at
20  * http://www.jahia.org/license
21  *
22  * Software distributed under the License is distributed on an "AS IS" basis,
23  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
24  * for the rights, obligations and limitations governing use of the contents
25  * of the file. The Original and Upgraded Code is the Jahia CMS and Portal
26  * Server. The developer of the Original and Upgraded Code is JAHIA Ltd. JAHIA
27  * Ltd. owns the copyrights in the portions it created. All Rights Reserved.
28  *
29  * The Developer of the Shared Modifications is Jahia Solution Sarl.
30  * Portions created by the Initial Developer are Copyright (C) 2002 by the
31  * Initial Developer. All Rights Reserved.
32  *
33  * Contributor(s):
34  * 29-MAR-2001, Jahia Solutions Sarl, Fulco Houkes : Initial version
35  * 15-SEP-2003, Jahia Solutions Sarl, Fulco Houkes
36  *
37  * ----- END LICENSE BLOCK -----
38  */

39
40 package org.jahia.exceptions.database;
41
42
43 import org.jahia.exceptions.JahiaPersistenceException;
44
45
46 /** This exception is thrown when a database connection could not be obtained.
47  *
48  * @author Fulco Houkes
49  * @version 1.1
50  * @since Jahia 1.1
51  */

52 public class JahiaDatabaseConnectionException extends JahiaPersistenceException
53 {
54     /**
55      * Default constructor
56      *
57      * @param message the message associated to the exception
58      */

59     public JahiaDatabaseConnectionException (String JavaDoc message) {
60         super (message, DATABASE_ERROR, CRITICAL_SEVERITY);
61     }
62 }
63
Popular Tags