aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services/DatabaseCorruptedException.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-08-20 23:41:36 +0800
committer杨宇千 <crupest@outlook.com>2019-08-20 23:41:36 +0800
commit63eec85627bcd3c584865d47a237de44bcdb8b98 (patch)
tree4554d77dcf4e10cdfa9955e496c0ede22788448a /Timeline/Services/DatabaseCorruptedException.cs
parent4af6c82f34dd79d7a1ca348f167e01570951e3ad (diff)
downloadtimeline-63eec85627bcd3c584865d47a237de44bcdb8b98.tar.gz
timeline-63eec85627bcd3c584865d47a237de44bcdb8b98.tar.bz2
timeline-63eec85627bcd3c584865d47a237de44bcdb8b98.zip
Use etag for cache.
Diffstat (limited to 'Timeline/Services/DatabaseCorruptedException.cs')
-rw-r--r--Timeline/Services/DatabaseCorruptedException.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/Timeline/Services/DatabaseCorruptedException.cs b/Timeline/Services/DatabaseCorruptedException.cs
new file mode 100644
index 00000000..9988e0ad
--- /dev/null
+++ b/Timeline/Services/DatabaseCorruptedException.cs
@@ -0,0 +1,15 @@
+using System;
+
+namespace Timeline.Services
+{
+ [Serializable]
+ public class DatabaseCorruptedException : Exception
+ {
+ public DatabaseCorruptedException() { }
+ public DatabaseCorruptedException(string message) : base(message) { }
+ public DatabaseCorruptedException(string message, Exception inner) : base(message, inner) { }
+ protected DatabaseCorruptedException(
+ System.Runtime.Serialization.SerializationInfo info,
+ System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
+ }
+}