01: /*
02: * $Id: CreateException.java 10529 2008-01-25 05:58:36Z dfeist $
03: * --------------------------------------------------------------------------------------
04: * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
05: *
06: * The software in this package is published under the terms of the CPAL v1.0
07: * license, a copy of which has been included with this distribution in the
08: * LICENSE.txt file.
09: */
10:
11: package org.mule.api.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.api.lifecycle.Initialisable</code> interface.
18: * IinitialisationExceptions are fatal and will cause the current Mule instance to
19: * shutdown.
20: */
21: public class CreateException extends LifecycleException {
22: /** Serial version */
23: private static final long serialVersionUID = -8402348927606781921L;
24:
25: /**
26: * @param message the exception message
27: * @param service the object that failed during a lifecycle method call
28: */
29: public CreateException(Message message, Object component) {
30: super (message, component);
31: }
32:
33: /**
34: * @param message the exception message
35: * @param cause the exception that cause this exception to be thrown
36: * @param service the object that failed during a lifecycle method call
37: */
38: public CreateException(Message message, Throwable cause,
39: Object component) {
40: super (message, cause, component);
41: }
42:
43: /**
44: * @param cause the exception that cause this exception to be thrown
45: * @param service the object that failed during a lifecycle method call
46: */
47: public CreateException(Throwable cause, Object component) {
48: super(cause, component);
49: }
50: }
|