View Javadoc

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.routing;
18  
19  /**
20   * アクションのルーティングに問題があることを表す例外です。
21   * 
22   * @author baba
23   */
24  public class RoutingException extends RuntimeException {
25  
26  	/** シリアルバージョンUID。 */
27  	private static final long serialVersionUID = 1L;
28  
29  	/**
30  	 * 新規例外を構築します。
31  	 */
32  	public RoutingException() {
33  		super();
34  	}
35  
36  	/**
37  	 * 指定された詳細メッセージおよび原因を使用して新規例外を構築します。
38  	 * 
39  	 * @param message
40  	 *            詳細メッセージ
41  	 * @param cause
42  	 *            原因
43  	 */
44  	public RoutingException(final String message, final Throwable cause) {
45  		super(message, cause);
46  	}
47  
48  	/**
49  	 * 指定された詳細メッセージを使用して新規例外を構築します。
50  	 * 
51  	 * @param message
52  	 *            詳細メッセージ
53  	 */
54  	public RoutingException(final String message) {
55  		super(message);
56  	}
57  
58  	/**
59  	 * 指定された原因を使用して新規例外を構築します。
60  	 * 
61  	 * @param cause
62  	 *            原因
63  	 */
64  	public RoutingException(final Throwable cause) {
65  		super(cause);
66  	}
67  
68  }