KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > umo > lifecycle > InitialisationException


1 /*
2  * $Id: InitialisationException.java 3798 2006-11-04 04:07:14Z aperepel $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.umo.lifecycle;
12
13 import org.mule.config.i18n.Message;
14
15 /**
16  * <code>InitialisationException</code> is thrown by the initialise method defined
17  * in the <code>org.mule.umo.lifecycle.Initialisable</code> interface. Init
18  * initialisation exceptions are fatal and will cause the current Mule Instance to
19  * shutdown
20  *
21  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
22  * @version $Revision: 3798 $
23  */

24 public class InitialisationException extends LifecycleException
25 {
26     /**
27      * Serial version
28      */

29     private static final long serialVersionUID = -8402348927606781931L;
30
31     /**
32      * @param message the exception message
33      * @param component the object that failed during a lifecycle method call
34      */

35     public InitialisationException(Message message, Object JavaDoc component)
36     {
37         super(message, component);
38     }
39
40     /**
41      * @param message the exception message
42      * @param cause the exception that cause this exception to be thrown
43      * @param component the object that failed during a lifecycle method call
44      */

45     public InitialisationException(Message message, Throwable JavaDoc cause, Object JavaDoc component)
46     {
47         super(message, cause, component);
48     }
49
50     /**
51      * @param cause the exception that cause this exception to be thrown
52      * @param component the object that failed during a lifecycle method call
53      */

54     public InitialisationException(Throwable JavaDoc cause, Object JavaDoc component)
55     {
56         super(cause, component);
57     }
58 }
59
Popular Tags