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 * Runtime exception
010 *
011 * @author bbpennel
012 */
013public class RepositoryRuntimeException extends RuntimeException {
014
015    private static final long serialVersionUID = 1L;
016    /**
017     * Ordinary constructor.
018     *
019     * @param msg the message
020     */
021    public RepositoryRuntimeException(final String msg) {
022        super(msg);
023    }
024
025    /**
026     * Ordinary constructor.
027     *
028     * @param msg the message
029     * @param rootCause the root cause
030     */
031    public RepositoryRuntimeException(final String msg, final Throwable rootCause) {
032        super(msg, rootCause);
033    }
034}