1 | // Copyright 2012 Georg-August-Universität Göttingen, Germany |
---|
2 | // |
---|
3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
---|
4 | // you may not use this file except in compliance with the License. |
---|
5 | // You may obtain a copy of the License at |
---|
6 | // |
---|
7 | // http://www.apache.org/licenses/LICENSE-2.0 |
---|
8 | // |
---|
9 | // Unless required by applicable law or agreed to in writing, software |
---|
10 | // distributed under the License is distributed on an "AS IS" BASIS, |
---|
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
12 | // See the License for the specific language governing permissions and |
---|
13 | // limitations under the License. |
---|
14 | |
---|
15 | package de.ugoe.cs.autoquest.httpmonitor; |
---|
16 | |
---|
17 | /** |
---|
18 | * <p> |
---|
19 | * Exception to notify all irregularities, that are specific to the HTTP monitor and its |
---|
20 | * components. |
---|
21 | * </p> |
---|
22 | * |
---|
23 | * @author Patrick Harms |
---|
24 | */ |
---|
25 | public class HttpMonitorException extends Exception { |
---|
26 | |
---|
27 | /** */ |
---|
28 | private static final long serialVersionUID = 1L; |
---|
29 | |
---|
30 | /** |
---|
31 | * <p> |
---|
32 | * initializes an exception with a simple message |
---|
33 | * </p> |
---|
34 | * |
---|
35 | * @param message the message of the exception |
---|
36 | */ |
---|
37 | public HttpMonitorException(String message) { |
---|
38 | super(message); |
---|
39 | } |
---|
40 | |
---|
41 | /** |
---|
42 | * <p> |
---|
43 | * initializes an exception with a simple message and a causing exception |
---|
44 | * </p> |
---|
45 | * |
---|
46 | * @param message the message of the exception |
---|
47 | * @param cause the root cause of the exception |
---|
48 | */ |
---|
49 | public HttpMonitorException(String message, Throwable cause) { |
---|
50 | super(message, cause); |
---|
51 | } |
---|
52 | |
---|
53 | } |
---|