| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| TransactionAbortedException |
|
| 1.0;1 |
| 1 | package org.odmg; | |
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | /** | |
| 6 | ||
| 7 | * This exception is thrown when the database asynchronously and explicitly | |
| 8 | ||
| 9 | * aborts the user's transaction due to some failure, the user's data is reset | |
| 10 | ||
| 11 | * just as if the user had directly called <code>Transaction.abort</code>. | |
| 12 | ||
| 13 | * @author David Jordan (as Java Editor of the Object Data Management Group) | |
| 14 | ||
| 15 | * @version ODMG 3.0 | |
| 16 | ||
| 17 | */ | |
| 18 | ||
| 19 | ||
| 20 | ||
| 21 | public class TransactionAbortedException extends ODMGRuntimeException | |
| 22 | ||
| 23 | { | |
| 24 | ||
| 25 | /** | |
| 26 | ||
| 27 | * Constructs an instance of the exception. | |
| 28 | ||
| 29 | */ | |
| 30 | ||
| 31 | public TransactionAbortedException() | |
| 32 | ||
| 33 | { | |
| 34 | ||
| 35 | super(); | |
| 36 | ||
| 37 | } | |
| 38 | ||
| 39 | ||
| 40 | ||
| 41 | /** | |
| 42 | ||
| 43 | * Constructs an instance of the exception with the provided message. | |
| 44 | ||
| 45 | * @param msg The message that describes the exception. | |
| 46 | ||
| 47 | */ | |
| 48 | ||
| 49 | public TransactionAbortedException(String msg) | |
| 50 | ||
| 51 | { | |
| 52 | ||
| 53 | super(msg); | |
| 54 | ||
| 55 | } | |
| 56 | ||
| 57 | } | |
| 58 |