Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
RecoverableException |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: RecoverableException.java 10808 2008-02-14 20:36:57Z acooke $ | |
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.api.lifecycle; | |
12 | ||
13 | import org.mule.config.i18n.Message; | |
14 | ||
15 | /** | |
16 | * <code>RecoverableException</code> can be thrown during initialisation to | |
17 | * indicate that the error occurred is not fatal and a reactive action can be | |
18 | * performed to try and remedy the error. The most common example would be a | |
19 | * Connector failing to connect due to a JVM_BIND exception. | |
20 | */ | |
21 | public class RecoverableException extends InitialisationException | |
22 | { | |
23 | ||
24 | /** Serial version */ | |
25 | private static final long serialVersionUID = -5799024626172482665L; | |
26 | ||
27 | /** @param message the exception message */ | |
28 | public RecoverableException(Message message, Initialisable object) | |
29 | { | |
30 | 0 | super(message, object); |
31 | 0 | } |
32 | ||
33 | /** | |
34 | * @param message the exception message | |
35 | * @param cause the exception that cause this exception to be thrown | |
36 | */ | |
37 | public RecoverableException(Message message, Initialisable object, Throwable cause) | |
38 | { | |
39 | 0 | super(message, cause, object); |
40 | 0 | } |
41 | ||
42 | } |