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.persistence.api.exceptions;
007
008
009/**
010 * Exception indicating that a persistence session is closed.
011 *
012 * @author bbpennel
013 */
014public class PersistentSessionClosedException extends PersistentStorageException {
015
016    private static final long serialVersionUID = 1L;
017
018    /**
019     * Constructor with message
020     *
021     * @param msg message
022     */
023    public PersistentSessionClosedException(final String msg) {
024        super(msg);
025    }
026
027    /**
028     * Constructor with message and cause
029     *
030     * @param msg message
031     * @param e cause
032     */
033    public PersistentSessionClosedException(final String msg, final Throwable e) {
034        super(msg, e);
035    }
036}