KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > impl > space > SpaceTransactionException


1 /*
2  * $Id: SpaceTransactionException.java 3865 2006-11-09 17:11:08Z Lajos $
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.impl.space;
12
13 import org.mule.config.i18n.Message;
14 import org.mule.config.i18n.Messages;
15 import org.mule.umo.space.UMOSpaceException;
16
17 /**
18  * Is thrown when an error occurs during begin, commit or rollback of a transaction.
19  * There will always be a cause exception.
20  */

21 public class SpaceTransactionException extends UMOSpaceException
22 {
23     /**
24      * Serial version
25      */

26     private static final long serialVersionUID = -8131578773037713193L;
27
28     public SpaceTransactionException(Throwable JavaDoc cause)
29     {
30         // TODO better message
31
super(new Message(Messages.FAILED_TO_INVOKE_X, "transaction"), cause);
32     }
33 }
34
Popular Tags