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 exception class for invalid memento creation attempts. 010 * 011 * @author dbernstein 012 */ 013public class CannotCreateMementoException extends ConstraintViolationException { 014 015 private static final long serialVersionUID = 1L; 016 017 /** 018 * Default constructor 019 * 020 * @param msg the message 021 */ 022 public CannotCreateMementoException(final String msg) { 023 super(msg); 024 } 025 026}