Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
TransactionNotInProgressException |
|
| 1.0;1 |
1 | package org.odmg; | |
2 | ||
3 | ||
4 | ||
5 | /** | |
6 | ||
7 | * This exception is thrown when attempting to perform an operation that | |
8 | ||
9 | * must be performed when there is a transaction is in progress, but no | |
10 | ||
11 | * such transaction is in progress. | |
12 | ||
13 | * @author David Jordan (as Java Editor of the Object Data Management Group) | |
14 | ||
15 | * @version ODMG 3.0 | |
16 | ||
17 | * @see ODMGRuntimeException | |
18 | ||
19 | */ | |
20 | ||
21 | ||
22 | ||
23 | public class TransactionNotInProgressException extends ODMGRuntimeException | |
24 | ||
25 | { | |
26 | ||
27 | /** | |
28 | ||
29 | * Constructs an instance of the exception. | |
30 | ||
31 | */ | |
32 | ||
33 | public TransactionNotInProgressException() | |
34 | ||
35 | { | |
36 | ||
37 | super(); | |
38 | ||
39 | } | |
40 | ||
41 | ||
42 | ||
43 | /** | |
44 | ||
45 | * Constructs an instance of the exception with the provided message. | |
46 | ||
47 | * @param msg A message that describes the exception. | |
48 | ||
49 | */ | |
50 | ||
51 | public TransactionNotInProgressException(String msg) | |
52 | ||
53 | { | |
54 | ||
55 | super(msg); | |
56 | ||
57 | } | |
58 | ||
59 | } | |
60 |