@@ -0,0 +1,2088 @@
+/**%0A * PODD is an OWL ontology database used for scientific project management%0A * %0A * Copyright (C) 2009-2013 The University Of Queensland%0A * %0A * This program is free software: you can redistribute it and/or modify it under the terms of the%0A * GNU Affero General Public License as published by the Free Software Foundation, either version 3%0A * of the License, or (at your option) any later version.%0A * %0A * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without%0A * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU%0A * Affero General Public License for more details.%0A * %0A * You should have received a copy of the GNU Affero General Public License along with this program.%0A * If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A */%0Apackage com.github.podd.exception;%0A%0Aimport org.semanticweb.owlapi.model.OWLOntologyID;%0A%0A/**%0A * Exception to indicate an attempt to modify a Published PODD Artifact.%0A * %0A * @author kutila%0A * %0A */%0Apublic class PublishedArtifactModifyException extends PoddException%0A%7B%0A    private static final long serialVersionUID = -3273512190148407834L;%0A    %0A    private OWLOntologyID artifactId;%0A    %0A    /**%0A     * @param msg%0A     */%0A    public PublishedArtifactModifyException(final String msg, final OWLOntologyID artifactId)%0A    %7B%0A        super(msg);%0A        this.artifactId = artifactId;%0A    %7D%0A    %0A    /**%0A     * @param msg%0A     * @param throwable%0A     */%0A    public PublishedArtifactModifyException(final String msg, final Throwable throwable, final OWLOntologyID artifactId)%0A    %7B%0A        super(msg, throwable);%0A        this.artifactId = artifactId;%0A    %7D%0A    %0A    /**%0A     * @param throwable%0A     */%0A    public PublishedArtifactModifyException(final Throwable throwable, final OWLOntologyID artifactId)%0A    %7B%0A        super(throwable);%0A        this.artifactId = artifactId;%0A    %7D%0A    %0A    /**%0A     * %0A     * @return The %7B@link OWLOntologyID%7D of the artifact that was not able to be published.%0A     */%0A    public OWLOntologyID getArtifactID()%0A    %7B%0A        return this.artifactId;%0A    %7D%0A%7D%0A

add new Exception