1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package com.commsen.stopwatch;
18
19 /***
20 * Thrown when error occures while reading or writing data from/to given storage.
21 * If storage is database, this class acts as simple wrapper for SQLException.
22 *
23 * @author Milen Dyankov
24 *
25 */
26 public class StopwatchStorageException extends Exception {
27
28 /***
29 *
30 */
31 private static final long serialVersionUID = 1L;
32
33 /***
34 *
35 */
36 public StopwatchStorageException() {
37 super();
38 }
39
40 /***
41 * @param message
42 */
43 public StopwatchStorageException(String message) {
44 super(message);
45 }
46
47 /***
48 * @param cause
49 */
50 public StopwatchStorageException(Throwable cause) {
51 super(cause);
52 }
53
54 /***
55 * @param message
56 * @param cause
57 */
58 public StopwatchStorageException(String message, Throwable cause) {
59 super(message, cause);
60 }
61
62 }