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