[2155] | 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.genericeventmonitor; |
---|
| 16 | |
---|
| 17 | /** |
---|
| 18 | * <p> |
---|
| 19 | * Exception to notify all irregularities, that are specific to the generic event monitor and its |
---|
| 20 | * components. |
---|
| 21 | * </p> |
---|
| 22 | * |
---|
| 23 | * @author Patrick Harms |
---|
| 24 | */ |
---|
| 25 | class GenericEventMonitorException 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 | GenericEventMonitorException(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 | GenericEventMonitorException(String message, Throwable cause) { |
---|
| 50 | super(message, cause); |
---|
| 51 | } |
---|
| 52 | |
---|
| 53 | } |
---|