Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ActionException |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright 2004-2009 the Seasar Foundation and the Others. | |
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, | |
13 | * either express or implied. See the License for the specific language | |
14 | * governing permissions and limitations under the License. | |
15 | */ | |
16 | package org.seasar.cubby.action; | |
17 | ||
18 | /** | |
19 | * アクションの実行に失敗した場合にスローされる実行時例外です。 | |
20 | * | |
21 | * @author baba | |
22 | */ | |
23 | public class ActionException extends RuntimeException { | |
24 | ||
25 | /** シリアルバージョンUID。 */ | |
26 | private static final long serialVersionUID = 1L; | |
27 | ||
28 | /** | |
29 | * 新規例外を構築します。 | |
30 | */ | |
31 | public ActionException() { | |
32 | 0 | super(); |
33 | 0 | } |
34 | ||
35 | /** | |
36 | * 指定された詳細メッセージおよび原因を使用して新規例外を構築します。 | |
37 | * | |
38 | * @param message | |
39 | * 詳細メッセージ | |
40 | * @param cause | |
41 | * 原因 | |
42 | */ | |
43 | public ActionException(final String message, final Throwable cause) { | |
44 | 0 | super(message, cause); |
45 | 0 | } |
46 | ||
47 | /** | |
48 | * 指定された詳細メッセージを使用して新規例外を構築します。 | |
49 | * | |
50 | * @param message | |
51 | * 詳細メッセージ | |
52 | */ | |
53 | public ActionException(final String message) { | |
54 | 2 | super(message); |
55 | 2 | } |
56 | ||
57 | /** | |
58 | * 指定された原因を使用して新規例外を構築します。 | |
59 | * | |
60 | * @param cause | |
61 | * 原因 | |
62 | */ | |
63 | public ActionException(final Throwable cause) { | |
64 | 0 | super(cause); |
65 | 0 | } |
66 | ||
67 | } |