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/**
010 * Indicates a namespace used in a CRUD request has not been registered in the repository
011 *
012 * @author whikloj
013 * @since September 12, 2014
014 */
015public class FedoraInvalidNamespaceException extends RepositoryRuntimeException {
016
017    private static final long serialVersionUID = 1L;
018
019    /**
020     * Ordinary constructor
021     *
022     * @param msg the message
023     */
024    public FedoraInvalidNamespaceException(final String msg) {
025        super(msg);
026    }
027
028    /**
029     * Ordinary constructor
030     *
031     * @param msg the message
032     * @param rootCause the root cause
033     */
034    public FedoraInvalidNamespaceException(final String msg, final Throwable rootCause) {
035        super(msg, rootCause);
036    }
037
038}