View Javadoc

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