01: /*
02: * $Id: DisposeException.java 10529 2008-01-25 05:58:36Z dfeist $
03: * --------------------------------------------------------------------------------------
04: * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
05: *
06: * The software in this package is published under the terms of the CPAL v1.0
07: * license, a copy of which has been included with this distribution in the
08: * LICENSE.txt file.
09: */
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: /** Serial version */
19: private static final long serialVersionUID = 1714192290605243678L;
20:
21: /**
22: * @param message the exception message
23: * @param service the object that failed during a lifecycle method call
24: */
25: public DisposeException(Message message, Disposable component) {
26: super (message, component);
27: }
28:
29: /**
30: * @param message the exception message
31: * @param cause the exception that cause this exception to be thrown
32: * @param service the object that failed during a lifecycle method call
33: */
34: public DisposeException(Message message, Throwable cause,
35: Disposable component) {
36: super (message, cause, component);
37: }
38:
39: /**
40: * @param cause the exception that cause this exception to be thrown
41: * @param service the object that failed during a lifecycle method call
42: */
43: public DisposeException(Throwable cause, Disposable component) {
44: super(cause, component);
45: }
46: }
|