1 /* 2 * $Id: RecoverableException.java 7963 2007-08-21 08:53:15Z 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>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 */ 26 private static final long serialVersionUID = -5799024626172482665L; 27 28 /** 29 * @param message the exception message 30 */ 31 public RecoverableException(Message message, Object object) 32 { 33 super(message, object); 34 } 35 36 /** 37 * @param message the exception message 38 * @param cause the exception that cause this exception to be thrown 39 */ 40 public RecoverableException(Message message, Object object, Throwable cause) 41 { 42 super(message, cause, object); 43 } 44 }