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 * @author cabeer 010 * @since 9/15/14 011 */ 012public class PathNotFoundRuntimeException extends RepositoryRuntimeException { 013 014 private static final long serialVersionUID = 1L; 015 016 /** 017 * Wrap a PathNotFoundException in a runtime exception 018 * @param message the original message. 019 * @param rootCause the root cause. 020 */ 021 public PathNotFoundRuntimeException(final String message, final Throwable rootCause) { 022 super(message, rootCause); 023 } 024 025 /** 026 * Create a PathNotFoundException directly. 027 * @param message the original message. 028 */ 029 public PathNotFoundRuntimeException(final String message) { 030 super(message); 031 } 032}