View Javadoc
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  /** <code>DisposeException</code> TODO (document class) */
12  
13  public class StartException extends LifecycleException
14  {
15      /** Serial version */
16      private static final long serialVersionUID = 1714192220605243678L;
17  
18      /**
19       * @param message   the exception message
20       * @param component the object that failed during a lifecycle method call
21       */
22      public StartException(Message message, Startable component)
23      {
24          super(message, component);
25      }
26  
27      /**
28       * @param message   the exception message
29       * @param cause     the exception that cause this exception to be thrown
30       * @param component the object that failed during a lifecycle method call
31       */
32      public StartException(Message message, Throwable cause, Startable component)
33      {
34          super(message, cause, component);
35      }
36  
37      /**
38       * @param cause     the exception that cause this exception to be thrown
39       * @param component the object that failed during a lifecycle method call
40       */
41      public StartException(Throwable cause, Startable component)
42      {
43          super(cause, component);
44      }
45  }