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 * An invalid memento path constraint has been violated. 010 * 011 * @author lsitu 012 * @since 2018-08-10 013 */ 014public class InvalidMementoPathException extends ConstraintViolationException { 015 016 private static final long serialVersionUID = 1L; 017 018 /** 019 * Ordinary constructor. 020 * 021 * @param msg the message 022 */ 023 public InvalidMementoPathException(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 InvalidMementoPathException(final String msg, final Throwable rootCause) { 034 super(msg, rootCause); 035 } 036 037}