Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
AlreadyInitialisedException |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: AlreadyInitialisedException.java 7976 2007-08-21 14:26:13Z dirk.olmes $ | |
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 CPAL v1.0 | |
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.CoreMessages; | |
14 | import org.mule.umo.lifecycle.InitialisationException; | |
15 | ||
16 | /** | |
17 | * <code>AlreadyInitialisedException</code> is thrown when a component or connector | |
18 | * has already been initialised. | |
19 | */ | |
20 | ||
21 | public class AlreadyInitialisedException extends InitialisationException | |
22 | { | |
23 | /** | |
24 | * Serial version | |
25 | */ | |
26 | private static final long serialVersionUID = 3121894155097428317L; | |
27 | ||
28 | /** | |
29 | * @param object the object that has been initialised and cannot be initialised | |
30 | * again | |
31 | */ | |
32 | public AlreadyInitialisedException(String name, Object object) | |
33 | { | |
34 | 0 | super(CoreMessages.objectAlreadyInitialised(name), object); |
35 | 0 | } |
36 | } |