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.context;
8   
9   import org.mule.api.MuleException;
10  import org.mule.config.i18n.Message;
11  
12  /**
13   * <code>MuleContextException</code> is thrown when an exception occurs with Mule Context
14   * objects
15   */
16  public class MuleContextException extends MuleException
17  {
18      /**
19       * Serial version
20       */
21      private static final long serialVersionUID = -1526680893293714180L;
22  
23      /**
24       * @param message the exception message
25       */
26      public MuleContextException(Message message)
27      {
28          super(message);
29      }
30  
31      /**
32       * @param message the exception message
33       * @param cause the exception that cause this exception to be thrown
34       */
35      public MuleContextException(Message message, Throwable cause)
36      {
37          super(message, cause);
38      }
39  }