KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > transaction > TransactionStatusException


1 /*
2  * $Id: TransactionStatusException.java 3167 2006-09-22 15:47:04Z holger $
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 MuleSource MPL
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 import org.mule.config.i18n.Messages;
15 import org.mule.umo.TransactionException;
16
17 public class TransactionStatusException extends TransactionException
18 {
19     /**
20      * Serial version
21      */

22     private static final long serialVersionUID = -2408368544426562868L;
23
24     /**
25      * @param message the exception message
26      */

27     public TransactionStatusException(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 TransactionStatusException(Message message, Throwable JavaDoc cause)
37     {
38         super(message, cause);
39     }
40
41     public TransactionStatusException(Throwable JavaDoc cause)
42     {
43         super(new Message(Messages.TX_CANT_READ_STATE), cause);
44     }
45 }
46
Popular Tags