View Javadoc

1   /*
2    * $Id: DisposeException.java 10529 2008-01-25 05:58:36Z dfeist $
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.api.lifecycle;
12  
13  import org.mule.config.i18n.Message;
14  
15  /** <code>DisposeException</code> TODO (document class) */
16  
17  public class DisposeException extends LifecycleException
18  {
19      /** Serial version */
20      private static final long serialVersionUID = 1714192290605243678L;
21  
22      /**
23       * @param message   the exception message
24       * @param service the object that failed during a lifecycle method call
25       */
26      public DisposeException(Message message, Disposable component)
27      {
28          super(message, component);
29      }
30  
31      /**
32       * @param message   the exception message
33       * @param cause     the exception that cause this exception to be thrown
34       * @param service the object that failed during a lifecycle method call
35       */
36      public DisposeException(Message message, Throwable cause, Disposable component)
37      {
38          super(message, cause, component);
39      }
40  
41      /**
42       * @param cause     the exception that cause this exception to be thrown
43       * @param service the object that failed during a lifecycle method call
44       */
45      public DisposeException(Throwable cause, Disposable component)
46      {
47          super(cause, component);
48      }
49  }