Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
KeyStoreReaderException |
|
| 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.cert; | |
11 | ||
12 | ||
13 | /** | |
14 | * Wrapper for exceptions encountered by the {@link KeyStoreReader}. | |
15 | * @since 0.3.0 | |
16 | */ | |
17 | public class KeyStoreReaderException | |
18 | extends Exception | |
19 | { | |
20 | ||
21 | //---- Static | |
22 | ||
23 | /** | |
24 | * @since 0.3.0 | |
25 | */ | |
26 | private static final long serialVersionUID = 7233723596186183708L; | |
27 | ||
28 | //---- Constructors | |
29 | ||
30 | /** | |
31 | * Creates a new key store reader exception with the same message as the cause. | |
32 | * @param cause the original cause of the exception. | |
33 | * @since 0.3.0 | |
34 | */ | |
35 | public KeyStoreReaderException (Throwable cause) { | |
36 | 0 | super(cause.getMessage(), cause); |
37 | 0 | } |
38 | ||
39 | } |