| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| RequestException |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * $Id: RequestException.java 1064782 2011-01-28 17:08:52Z apetrelli $ | |
| 3 | * | |
| 4 | * Licensed to the Apache Software Foundation (ASF) under one | |
| 5 | * or more contributor license agreements. See the NOTICE file | |
| 6 | * distributed with this work for additional information | |
| 7 | * regarding copyright ownership. The ASF licenses this file | |
| 8 | * to you under the Apache License, Version 2.0 (the | |
| 9 | * "License"); you may not use this file except in compliance | |
| 10 | * with the License. You may obtain a copy of the License at | |
| 11 | * | |
| 12 | * http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | * | |
| 14 | * Unless required by applicable law or agreed to in writing, | |
| 15 | * software distributed under the License is distributed on an | |
| 16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| 17 | * KIND, either express or implied. See the License for the | |
| 18 | * specific language governing permissions and limitations | |
| 19 | * under the License. | |
| 20 | */ | |
| 21 | package org.apache.tiles.request; | |
| 22 | ||
| 23 | /** | |
| 24 | * Thrown when something related to a request fails. | |
| 25 | * | |
| 26 | * @version $Rev: 1064782 $ $Date: 2011-01-29 04:08:52 +1100 (Sat, 29 Jan 2011) $ | |
| 27 | */ | |
| 28 | public class RequestException extends RuntimeException { | |
| 29 | ||
| 30 | /** | |
| 31 | * Constructor. | |
| 32 | */ | |
| 33 | 5 | public RequestException() { |
| 34 | 5 | } |
| 35 | ||
| 36 | /** | |
| 37 | * Constructor. | |
| 38 | * | |
| 39 | * @param message The message of the exception. | |
| 40 | */ | |
| 41 | public RequestException(String message) { | |
| 42 | 8 | super(message); |
| 43 | 8 | } |
| 44 | ||
| 45 | /** | |
| 46 | * Constructor. | |
| 47 | * | |
| 48 | * @param cause The cause. | |
| 49 | */ | |
| 50 | public RequestException(Throwable cause) { | |
| 51 | 5 | super(cause); |
| 52 | 5 | } |
| 53 | ||
| 54 | /** | |
| 55 | * Constructor. | |
| 56 | * | |
| 57 | * @param message The message of the exception. | |
| 58 | * @param cause The cause. | |
| 59 | */ | |
| 60 | public RequestException(String message, Throwable cause) { | |
| 61 | 8 | super(message, cause); |
| 62 | 8 | } |
| 63 | ||
| 64 | } |