Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
FatalException |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: FatalException.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.umo.lifecycle; | |
12 | ||
13 | import org.mule.config.i18n.Message; | |
14 | ||
15 | /** | |
16 | * <code>FatalException</code> can be thrown during initialisation or during | |
17 | * execution to indicate that something fatal has occurred and the MuleManager must | |
18 | * shutdown. | |
19 | */ | |
20 | public class FatalException extends LifecycleException | |
21 | { | |
22 | /** | |
23 | * Serial version | |
24 | */ | |
25 | private static final long serialVersionUID = -330442983239074937L; | |
26 | ||
27 | /** | |
28 | * @param message the exception message | |
29 | * @param component the object that failed during a lifecycle method call | |
30 | */ | |
31 | public FatalException(Message message, Object component) | |
32 | { | |
33 | 0 | super(message, component); |
34 | 0 | } |
35 | ||
36 | /** | |
37 | * @param message the exception message | |
38 | * @param cause the exception that cause this exception to be thrown | |
39 | * @param component the object that failed during a lifecycle method call | |
40 | */ | |
41 | public FatalException(Message message, Throwable cause, Object component) | |
42 | { | |
43 | 0 | super(message, cause, component); |
44 | 0 | } |
45 | ||
46 | /** | |
47 | * @param cause the exception that cause this exception to be thrown | |
48 | * @param component the object that failed during a lifecycle method call | |
49 | */ | |
50 | public FatalException(Throwable cause, Object component) | |
51 | { | |
52 | 0 | super(cause, component); |
53 | 0 | } |
54 | } |