org.mule.api.lifecycle
Class CreateException

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.CreateException
All Implemented Interfaces:
Serializable

public class CreateException
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
CreateException(Message message, Object component)
           
CreateException(Message message, Throwable cause, Object component)
           
CreateException(Throwable cause, Object 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

CreateException

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

CreateException

public CreateException(Message message,
                       Throwable cause,
                       Object 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

CreateException

public CreateException(Throwable cause,
                       Object 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.