⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 transactionexception.java

📁 A Java web application, based on Struts and Hibernate, that serves as an online running log. Users m
💻 JAVA
字号:
/* @LICENSE_COPYRIGHT@ */
package net.sf.irunninglog.transaction;

/**
 * Exception thrown when there an error related to transactional behavior. Any
 * errors related to transactions, units of work, or any other type of
 * transactional support should be thrown as this type of exception.
 *
 * @author <a href="mailto:allan_e_lewis@yahoo.com">Allan Lewis</a>
 * @version $Revision: 1.1.1.1 $ $Date: 2005/06/23 01:49:03 $
 * @since iRunningLog 1.0
 * @see ITransaction
 * @see IUnitOfWork
 * @see TransactionalSupport
 */
public class TransactionException extends Exception {

    /**
     * Create a new exception.
     */
    public TransactionException() {
        this(null, null);
    }

    /**
     * Create a new exception with a specified message.
     *
     * @param message The message for the exception
     */
    public TransactionException(String message) {
        this(message, null);
    }

    /**
     * Create a new exception with a specified cause.
     *
     * @param cause The cause of the exception
     */
    public TransactionException(Throwable cause) {
        this(null, cause);
    }

    /**
     * Create a new exception with a specified message and cause.
     *
     * @param message The message for the exception
     * @param cause The cause of the exception
     */
    public TransactionException(String message, Throwable cause) {
        super(message, cause);
    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -