OSDN Git Service

s2jdbc-genのAntランチャーを移植
[ea2ddl/ea2ddl.git] / ea2ddl-common / src / main / java / org / seasar / extension / jdbc / gen / internal / exception / SystemPropertyNotFoundRuntimeException.java
1 /*\r
2  * Copyright 2004-2008 the Seasar Foundation and the Others.\r
3  *\r
4  * Licensed under the Apache License, Version 2.0 (the "License");\r
5  * you may not use this file except in compliance with the License.\r
6  * You may obtain a copy of the License at\r
7  *\r
8  *     http://www.apache.org/licenses/LICENSE-2.0\r
9  *\r
10  * Unless required by applicable law or agreed to in writing, software\r
11  * distributed under the License is distributed on an "AS IS" BASIS,\r
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, \r
13  * either express or implied. See the License for the specific language\r
14  * governing permissions and limitations under the License.\r
15  */\r
16 package org.seasar.extension.jdbc.gen.internal.exception;\r
17 \r
18 import org.seasar.framework.exception.SRuntimeException;\r
19 \r
20 /**\r
21  * システムプロパティが見つからない場合にスローされる例外です。\r
22  * \r
23  * @author taedium\r
24  */\r
25 public class SystemPropertyNotFoundRuntimeException extends SRuntimeException {\r
26 \r
27     private static final long serialVersionUID = 1L;\r
28 \r
29     /** プロパティ名 */\r
30     protected String propertyName;\r
31 \r
32     /**\r
33      * インスタンスを構築します。\r
34      * \r
35      * @param propertyName\r
36      *            プロパティ名\r
37      */\r
38     public SystemPropertyNotFoundRuntimeException(String propertyName) {\r
39         super("ES2JDBCGen0018", new Object[] { propertyName });\r
40         this.propertyName = propertyName;\r
41     }\r
42 \r
43     /**\r
44      * プロパティ名を返します。\r
45      * \r
46      * @return プロパティ名\r
47      */\r
48     public String getPropertyName() {\r
49         return propertyName;\r
50     }\r
51 \r
52 }\r