Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
LetterboxException |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) 2009, Swiss Federal Department of Defence Civil Protection and Sport | |
3 | * (http://www.vbs.admin.ch) | |
4 | * Copyright (c) 2009, Ergon Informatik AG (http://www.ergon.ch) | |
5 | * All rights reserved. | |
6 | * | |
7 | * Licensed under the Open Permis License which accompanies this distribution, | |
8 | * and is available at http://www.openpermis.org/BSDlicenceKent.txt | |
9 | */ | |
10 | package org.openpermis.examples.simple; | |
11 | ||
12 | ||
13 | /** | |
14 | * A letter box exception.. | |
15 | * @since 0.1.0 | |
16 | */ | |
17 | public class LetterboxException extends Exception { | |
18 | ||
19 | //---- Static | |
20 | ||
21 | private static final long serialVersionUID = 3402884834741629040L; | |
22 | ||
23 | //---- Constructors | |
24 | ||
25 | /** | |
26 | * Creates an exception with the specified message. | |
27 | * @param message the message for this exception. | |
28 | * @since 0.1.0 | |
29 | */ | |
30 | public LetterboxException (String message) { | |
31 | 1 | super(message); |
32 | 1 | } |
33 | ||
34 | /** | |
35 | * Creates an exception with the specified message and cause. | |
36 | * @param message the message for this exception. | |
37 | * @param cause the {@link Throwable} that caused this exception to be thrown. | |
38 | * @since 0.1.0 | |
39 | */ | |
40 | public LetterboxException (String message, Throwable cause) { | |
41 | 0 | super(message, cause); |
42 | 0 | } |
43 | ||
44 | } |