KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > impl > AlreadyInitialisedException


1 /*
2  * $Id: AlreadyInitialisedException.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.impl;
12
13 import org.mule.config.i18n.Message;
14 import org.mule.config.i18n.Messages;
15 import org.mule.umo.lifecycle.InitialisationException;
16
17 /**
18  * <code>AlreadyInitialisedException</code> is thrown when a component or connector
19  * has already been initialised.
20  *
21  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
22  * @version $Revision: 3798 $
23  */

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

30     private static final long serialVersionUID = 3121894155097428317L;
31
32     /**
33      * @param object the object that has been initialised and cannot be initialised
34      * again
35      */

36     public AlreadyInitialisedException(String JavaDoc name, Object JavaDoc object)
37     {
38         super(new Message(Messages.OBJECT_X_ALREADY_INITIALISED, name), object);
39     }
40 }
41
Popular Tags