1 /* 2 * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com 3 * The software in this package is published under the terms of the CPAL v1.0 4 * license, a copy of which has been included with this distribution in the 5 * LICENSE.txt file. 6 */ 7 package org.mule.api.lifecycle; 8 9 import org.mule.config.i18n.Message; 10 11 /** 12 * <code>RecoverableException</code> can be thrown during initialisation to 13 * indicate that the error occurred is not fatal and a reactive action can be 14 * performed to try and remedy the error. The most common example would be a 15 * Connector failing to connect due to a JVM_BIND exception. 16 */ 17 public class RecoverableException extends InitialisationException 18 { 19 20 /** Serial version */ 21 private static final long serialVersionUID = -5799024626172482665L; 22 23 /** @param message the exception message */ 24 public RecoverableException(Message message, Initialisable object) 25 { 26 super(message, object); 27 } 28 29 /** 30 * @param message the exception message 31 * @param cause the exception that cause this exception to be thrown 32 */ 33 public RecoverableException(Message message, Initialisable object, Throwable cause) 34 { 35 super(message, cause, object); 36 } 37 38 }