1 | /* |
2 | * Copyright 2005-2006 The RbUtils Project |
3 | * |
4 | * Licensed under the Apache 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.apache.org/licenses/LICENSE-2.0 |
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 | */ |
17 | |
18 | // $Id: UnknownTaskException.java,v 1.1 2006/11/07 03:08:45 moishi Exp $ |
19 | |
20 | package org.ktc.rbutils.api; |
21 | |
22 | import org.ktc.rbutils.rb.CommonProps; |
23 | |
24 | /** |
25 | * Thrown when a specified Task Name does not correpond to a RbUtils task. |
26 | * @since RbUtils 0.9.3.3 |
27 | * @version $Revision: 1.1 $ |
28 | * @author moishi |
29 | */ |
30 | public class UnknownTaskException extends RbUtilsRuntimeException { |
31 | /** |
32 | * Automaticly generated value for backward compatibility. |
33 | */ |
34 | private static final long serialVersionUID = -8729667332738446162L; |
35 | |
36 | /** |
37 | * Creates a new <code>UnknownTaskException</code> instance. |
38 | * @param message name of the unknown task. |
39 | */ |
40 | public UnknownTaskException(final String message) { |
41 | super(CommonProps.UNKNONWN_TASKNAME + ": " + message); |
42 | } |
43 | |
44 | } |