View Javadoc

1   /**
2    * Copyright 2010-2012 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.codehaus.mojo.license;
17  
18  /**
19   * An exception occurring during the execution of this tool.
20   *
21   * @author <a href="mailto:tchemit@codelutin.com">tony chemit</a>
22   * @version $Id: ThirdPartyToolException.java 14409 2011-08-10 15:30:41Z tchemit $
23   */
24  public class ThirdPartyToolException
25      extends Exception
26  {
27      /**
28       * Construct a new <code>ThirdPartyToolException</code> exception wrapping an underlying <code>Exception</code>
29       * and providing a <code>message</code>.
30       *
31       * @param message could be null
32       * @param cause   could be null
33       */
34      public ThirdPartyToolException( String message, Exception cause )
35      {
36          super( message, cause );
37      }
38  
39      /**
40       * Construct a new <code>ThirdPartyToolException</code> exception wrapping an underlying <code>Throwable</code>
41       * and providing a <code>message</code>.
42       *
43       * @param message could be null
44       * @param cause   could be null
45       */
46      public ThirdPartyToolException( String message, Throwable cause )
47      {
48          super( message, cause );
49      }
50  
51      /**
52       * Construct a new <code>ThirdPartyToolException</code> exception providing a <code>message</code>.
53       *
54       * @param message could be null
55       */
56      public ThirdPartyToolException( String message )
57      {
58          super( message );
59      }
60  }