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 * Indicates that RDF was presented for persistence to the repository, but could not be persisted for some reportable
010 * reason.
011 *
012 * @author ajs6f
013 * @author whikloj
014 * @since Oct 24, 2013
015 */
016public class MalformedRdfException extends ConstraintViolationException {
017
018    private static final long serialVersionUID = 1L;
019
020    /**
021     * Ordinary constructor.
022     *
023     * @param msg the message
024     */
025    public MalformedRdfException(final String msg) {
026        super(msg);
027    }
028
029
030    /**
031     * Ordinary constructor.
032     *
033     * @param msg the message
034     * @param rootCause the root cause
035     */
036    public MalformedRdfException(final String msg, final Throwable rootCause) {
037        super(msg, rootCause);
038    }
039
040}