001 /**
002 * Copyright 2010-2012 The Kuali Foundation
003 *
004 * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
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 package org.codehaus.mojo.license;
017
018 /**
019 * An exception occurring during the execution of this tool.
020 *
021 * @author <a href="mailto:tchemit@codelutin.com">tony chemit</a>
022 * @version $Id: ThirdPartyToolException.java 14409 2011-08-10 15:30:41Z tchemit $
023 */
024 public class ThirdPartyToolException
025 extends Exception
026 {
027 /**
028 * Construct a new <code>ThirdPartyToolException</code> exception wrapping an underlying <code>Exception</code>
029 * and providing a <code>message</code>.
030 *
031 * @param message could be null
032 * @param cause could be null
033 */
034 public ThirdPartyToolException( String message, Exception cause )
035 {
036 super( message, cause );
037 }
038
039 /**
040 * Construct a new <code>ThirdPartyToolException</code> exception wrapping an underlying <code>Throwable</code>
041 * and providing a <code>message</code>.
042 *
043 * @param message could be null
044 * @param cause could be null
045 */
046 public ThirdPartyToolException( String message, Throwable cause )
047 {
048 super( message, cause );
049 }
050
051 /**
052 * Construct a new <code>ThirdPartyToolException</code> exception providing a <code>message</code>.
053 *
054 * @param message could be null
055 */
056 public ThirdPartyToolException( String message )
057 {
058 super( message );
059 }
060 }