summaryrefslogtreecommitdiff
path: root/product/database/transactions/SessionNotStartedException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'product/database/transactions/SessionNotStartedException.cs')
-rw-r--r--product/database/transactions/SessionNotStartedException.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/product/database/transactions/SessionNotStartedException.cs b/product/database/transactions/SessionNotStartedException.cs
new file mode 100644
index 0000000..105cd26
--- /dev/null
+++ b/product/database/transactions/SessionNotStartedException.cs
@@ -0,0 +1,11 @@
+using System;
+
+namespace momoney.database.transactions
+{
+ public class SessionNotStartedException : Exception
+ {
+ public SessionNotStartedException() : base("A session could not be found. Did you forget to open a session?")
+ {
+ }
+ }
+} \ No newline at end of file