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 * If an item is not found in the storage. 010 * 011 * @author whikloj 012 * @since 2019-09-24 013 */ 014public class PersistentItemNotFoundException extends PersistentStorageException { 015 016 private static final long serialVersionUID = 1L; 017 018 /** 019 * Basic constructor 020 * 021 * @param msg The text of the exception. 022 */ 023 public PersistentItemNotFoundException(final String msg) { 024 super(msg); 025 } 026 027 /** 028 * Constructor 029 * 030 * @param msg message 031 * @param e cause 032 */ 033 public PersistentItemNotFoundException(final String msg, final Throwable e) { 034 super(msg, e); 035 } 036 037}