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