org.mule.api.lifecycle
Class RecoverableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.mule.api.MuleException
              extended by org.mule.api.lifecycle.LifecycleException
                  extended by org.mule.api.lifecycle.InitialisationException
                      extended by org.mule.api.lifecycle.RecoverableException
All Implemented Interfaces:
Serializable

public class RecoverableException
extends InitialisationException

RecoverableException can be thrown during initialisation to indicate that the error occurred is not fatal and a reactive action can be performed to try and remedy the error. The most common example would be a Connector failing to connect due to a JVM_BIND exception.

See Also:
Serialized Form

Constructor Summary
RecoverableException(Message message, Initialisable object)
           
RecoverableException(Message message, Initialisable object, Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.mule.api.lifecycle.LifecycleException
getComponent
 
Methods inherited from class org.mule.api.MuleException
addInfo, appendMessage, equals, getDetailedMessage, getExceptionCode, getI18nMessage, getInfo, getMessage, getMessageCode, hashCode, initialise, prependMessage, setExceptionCode, setMessage, setMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecoverableException

public RecoverableException(Message message,
                            Initialisable object)
Parameters:
message - the exception message

RecoverableException

public RecoverableException(Message message,
                            Initialisable object,
                            Throwable cause)
Parameters:
message - the exception message
cause - the exception that cause this exception to be thrown


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.