001/*
002 * The contents of this file are subject to the license and copyright
003 * detailed in the LICENSE and NOTICE files at the root of the source
004 * tree.
005 */
006package org.fcrepo.kernel.api.exception;
007
008/**
009 * Exception indicating that the requested transaction has been closed
010 *
011 * @author bbpennel
012 */
013public class TransactionClosedException extends TransactionRuntimeException {
014    private static final long serialVersionUID = 1L;
015    /**
016     * Ordinary constructor.
017     *
018     * @param msg the message
019     */
020    public TransactionClosedException(final String msg) {
021        super(msg);
022    }
023
024    /**
025     * Ordinary constructor.
026     *
027     * @param msg the message
028     * @param rootCause the root cause
029     */
030    public TransactionClosedException(final String msg, final Throwable rootCause) {
031        super(msg, rootCause);
032    }
033}