Source code: org/mule/MuleRuntimeException.java
1 /*
2 * $Header: /cvsroot/mule/mule/src/java/org/mule/MuleRuntimeException.java,v 1.4 2003/10/20 21:19:17 rossmason Exp $
3 * $Revision: 1.4 $
4 * $Date: 2003/10/20 21:19:17 $
5 * ------------------------------------------------------------------------------------------------------
6 *
7 * Copyright (c) Cubis Limited. All rights reserved.
8 * http://www.cubis.co.uk
9 *
10 * The software in this package is published under the terms of the BSD
11 * style license a copy of which has been included with this distribution in
12 * the LICENSE.txt file.
13 *
14 */
15 package org.mule;
16
17 /**
18 * <p><code>MuleRuntimeException</code> Is the base runtime exception type for the Mule Server
19 * any other runtimes exceptions thrown by Mule code will use or be based on this exception. Runtime
20 * exceptions in mule are only ever thrown where the method is not declared to throw an exception and
21 * the exception is serious.
22 *
23 * @author <a href="mailto:ross.mason@cubis.co.uk">Ross Mason</a>
24 * @version $Revision: 1.0 $
25 *
26 */
27 public class MuleRuntimeException extends RuntimeException
28 {
29
30 /**
31 *
32 * @param message the exception message
33 */
34 public MuleRuntimeException(String message)
35 {
36 super(message);
37 }
38
39 /**
40 *
41 * @param message the exception message
42 * @param cause the exception that triggered this exception
43 */
44 public MuleRuntimeException(String message, Throwable cause)
45 {
46 super(message, cause);
47 }
48 }