001    /*
002     * #%L
003     * License Maven Plugin
004     *
005     * $Id: ThirdPartyToolException.java 14409 2011-08-10 15:30:41Z tchemit $
006     * $HeadURL: http://svn.codehaus.org/mojo/tags/license-maven-plugin-1.0/src/main/java/org/codehaus/mojo/license/ThirdPartyToolException.java $
007     * %%
008     * Copyright (C) 2011 CodeLutin, Codehaus, Tony Chemit
009     * %%
010     * This program is free software: you can redistribute it and/or modify
011     * it under the terms of the GNU Lesser General Public License as
012     * published by the Free Software Foundation, either version 3 of the
013     * License, or (at your option) any later version.
014     *
015     * This program is distributed in the hope that it will be useful,
016     * but WITHOUT ANY WARRANTY; without even the implied warranty of
017     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
018     * GNU General Lesser Public License for more details.
019     *
020     * You should have received a copy of the GNU General Lesser Public
021     * License along with this program.  If not, see
022     * <http://www.gnu.org/licenses/lgpl-3.0.html>.
023     * #L%
024     */
025    package org.codehaus.mojo.license;
026    
027    /**
028     * An exception occurring during the execution of this tool.
029     *
030     * @author <a href="mailto:tchemit@codelutin.com">tony chemit</a>
031     * @version $Id: ThirdPartyToolException.java 14409 2011-08-10 15:30:41Z tchemit $
032     */
033    public class ThirdPartyToolException
034        extends Exception
035    {
036        /**
037         * Construct a new <code>ThirdPartyToolException</code> exception wrapping an underlying <code>Exception</code>
038         * and providing a <code>message</code>.
039         *
040         * @param message could be null
041         * @param cause   could be null
042         */
043        public ThirdPartyToolException( String message, Exception cause )
044        {
045            super( message, cause );
046        }
047    
048        /**
049         * Construct a new <code>ThirdPartyToolException</code> exception wrapping an underlying <code>Throwable</code>
050         * and providing a <code>message</code>.
051         *
052         * @param message could be null
053         * @param cause   could be null
054         */
055        public ThirdPartyToolException( String message, Throwable cause )
056        {
057            super( message, cause );
058        }
059    
060        /**
061         * Construct a new <code>ThirdPartyToolException</code> exception providing a <code>message</code>.
062         *
063         * @param message could be null
064         */
065        public ThirdPartyToolException( String message )
066        {
067            super( message );
068        }
069    }