1 /*
2 * #%L
3 * License Maven Plugin
4 *
5 * $Id: ThirdPartyToolException.java 14409 2011-08-10 15:30:41Z tchemit $
6 * $HeadURL: http://svn.codehaus.org/mojo/tags/license-maven-plugin-1.0/src/main/java/org/codehaus/mojo/license/ThirdPartyToolException.java $
7 * %%
8 * Copyright (C) 2011 CodeLutin, Codehaus, Tony Chemit
9 * %%
10 * This program is free software: you can redistribute it and/or modify
11 * it under the terms of the GNU Lesser General Public License as
12 * published by the Free Software Foundation, either version 3 of the
13 * License, or (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Lesser Public License for more details.
19 *
20 * You should have received a copy of the GNU General Lesser Public
21 * License along with this program. If not, see
22 * <http://www.gnu.org/licenses/lgpl-3.0.html>.
23 * #L%
24 */
25 package org.codehaus.mojo.license;
26
27 /**
28 * An exception occurring during the execution of this tool.
29 *
30 * @author <a href="mailto:tchemit@codelutin.com">tony chemit</a>
31 * @version $Id: ThirdPartyToolException.java 14409 2011-08-10 15:30:41Z tchemit $
32 */
33 public class ThirdPartyToolException
34 extends Exception
35 {
36 /**
37 * Construct a new <code>ThirdPartyToolException</code> exception wrapping an underlying <code>Exception</code>
38 * and providing a <code>message</code>.
39 *
40 * @param message could be null
41 * @param cause could be null
42 */
43 public ThirdPartyToolException( String message, Exception cause )
44 {
45 super( message, cause );
46 }
47
48 /**
49 * Construct a new <code>ThirdPartyToolException</code> exception wrapping an underlying <code>Throwable</code>
50 * and providing a <code>message</code>.
51 *
52 * @param message could be null
53 * @param cause could be null
54 */
55 public ThirdPartyToolException( String message, Throwable cause )
56 {
57 super( message, cause );
58 }
59
60 /**
61 * Construct a new <code>ThirdPartyToolException</code> exception providing a <code>message</code>.
62 *
63 * @param message could be null
64 */
65 public ThirdPartyToolException( String message )
66 {
67 super( message );
68 }
69 }