org.mule.api.lifecycle
Class InitialisationException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AlreadyInitialisedException, RecoverableException

public class InitialisationException
extends LifecycleException

InitialisationException is thrown by the initialise method defined in the org.mule.api.lifecycle.Initialisable interface. IinitialisationExceptions are fatal and will cause the current Mule instance to shutdown.

See Also:
Serialized Form

Constructor Summary
InitialisationException(Message message, Initialisable component)
           
InitialisationException(Message message, Throwable cause, Initialisable component)
           
InitialisationException(Throwable cause, Initialisable component)
           
 
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

InitialisationException

public InitialisationException(Message message,
                               Initialisable component)
Parameters:
message - the exception message
service - the object that failed during a lifecycle method call

InitialisationException

public InitialisationException(Message message,
                               Throwable cause,
                               Initialisable component)
Parameters:
message - the exception message
cause - the exception that cause this exception to be thrown
service - the object that failed during a lifecycle method call

InitialisationException

public InitialisationException(Throwable cause,
                               Initialisable component)
Parameters:
cause - the exception that cause this exception to be thrown
service - the object that failed during a lifecycle method call


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