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.ocfl.api; 007 008 009/** 010 * Indicates the fedora identifier was not found in the index. 011 * 012 * @author dbernstein 013 014 */ 015public class FedoraOcflMappingNotFoundException extends Exception { 016 017 private static final long serialVersionUID = 1L; 018 019 /** 020 * Ordinary constructor 021 * 022 * @param msg the message 023 */ 024 public FedoraOcflMappingNotFoundException(final String msg) { 025 super(msg); 026 } 027 028 /** 029 * Constructor for wrapping exception. 030 * 031 * @param exception the original exception. 032 */ 033 public FedoraOcflMappingNotFoundException(final Throwable exception) { 034 super(exception); 035 } 036 037}