KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > exceptions > JahiaInitializationException


1 // $Id: JahiaInitializationException.java 3567 2003-06-30 22:32:03Z shuber $
2
//
3
// ____.
4
// __/\ ______| |__/\. _______
5
// __ .____| | \ | +----+ \
6
// _______| /--| | | - \ _ | : - \_________
7
// \\______: :---| : : | : | \________>
8
// |__\---\_____________:______: :____|____:_____\
9
// /_____|
10
//
11
// . . . i n j a h i a w e t r u s t . . .
12
//
13

14
15
16 package org.jahia.exceptions;
17
18
19
20 /**
21  * This exception is used when an initialization has failed inside of Jahia.
22  * It's mainly used by the services initialization.s
23  *
24  * @author Khue ng
25  * @author Fulco Houkes
26  *
27  * @version 1.1
28  */

29 public class JahiaInitializationException extends JahiaException
30 {
31
32     /**
33      * DefaultConstructor
34      */

35     public JahiaInitializationException(String JavaDoc message)
36     {
37         super ("Initialization error.", message, INITIALIZATION_ERROR,
38                CRITICAL_SEVERITY);
39     }
40
41     /**
42      * Embeddedable exception constructor, use this if you are rethrowing
43      * an existing exception.
44      */

45     public JahiaInitializationException(String JavaDoc message, Throwable JavaDoc t)
46     {
47         super ("Initialization error.", message, INITIALIZATION_ERROR,
48                CRITICAL_SEVERITY, t);
49     }
50 } // end Class JahiaInitializationException
51
Popular Tags