001/*
002 * Copyright 2011-2012 Stephen Connolly.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016
017package org.jszip.maven;
018
019import org.apache.maven.plugin.MojoExecutionException;
020
021/**
022 * The build plan has been modified in such a way that it cannot be compensated for and Maven must be restarted.
023 *
024 * @author stephenc
025 * @since 21/02/2012 10:48
026 */
027public class BuildPlanModifiedException extends MojoExecutionException {
028    /**
029     * {@inheritDoc}
030     */
031    public BuildPlanModifiedException(String message) {
032        super(message);
033    }
034
035    /**
036     * {@inheritDoc}
037     */
038    public BuildPlanModifiedException(String message, Exception cause) {
039        super(message, cause);
040    }
041
042    /**
043     * {@inheritDoc}
044     */
045    public BuildPlanModifiedException(String message, Throwable cause) {
046        super(message, cause);
047    }
048
049    /**
050     * {@inheritDoc}
051     */
052    public BuildPlanModifiedException(Object source, String shortMessage, String longMessage) {
053        super(source, shortMessage, longMessage);
054    }
055}