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 extension of {@link RepositoryRuntimeException} that may be thrown when attempting a
010 * operation (or instantiation) of a {@link org.fcrepo.kernel.api.models.FedoraResource}
011 * on a different (and incompatible) type.
012 *
013 * @author Mike Durbin
014 */
015public class ResourceTypeException extends RepositoryRuntimeException {
016
017    private static final long serialVersionUID = 1L;
018
019    /**
020     * Default constructor.
021     * @param message the message
022     */
023    public ResourceTypeException(final String message) {
024        super(message);
025    }
026
027}