View Javadoc

1   /*
2    * $Id: TransactionRollbackException.java 7976 2007-08-21 14:26:13Z dirk.olmes $
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.CoreMessages;
14  import org.mule.config.i18n.Message;
15  import org.mule.umo.TransactionException;
16  
17  public class TransactionRollbackException extends TransactionException
18  {
19      /**
20       * Serial version
21       */
22      private static final long serialVersionUID = -3247455113055556221L;
23  
24      /**
25       * @param message the exception message
26       */
27      public TransactionRollbackException(Message message)
28      {
29          super(message);
30      }
31  
32      /**
33       * @param message the exception message
34       * @param cause the exception that cause this exception to be thrown
35       */
36      public TransactionRollbackException(Message message, Throwable cause)
37      {
38          super(message, cause);
39      }
40  
41      public TransactionRollbackException(Throwable cause)
42      {
43          super(CoreMessages.transactionRollbackFailed(), cause);
44      }
45  
46  }