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