aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services/DatabaseCorruptedException.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-08-20 23:57:47 +0800
committerGitHub <noreply@github.com>2019-08-20 23:57:47 +0800
commita585c6e35829e9f2b4b0b8ce8c6b395e5ea84f2c (patch)
tree3d20f696dd097b86eeba497baf8dc1baf966626c /Timeline/Services/DatabaseCorruptedException.cs
parent4af6c82f34dd79d7a1ca348f167e01570951e3ad (diff)
parentf657105462b7a8c528b39005d81ffe6141f476a5 (diff)
downloadtimeline-a585c6e35829e9f2b4b0b8ce8c6b395e5ea84f2c.tar.gz
timeline-a585c6e35829e9f2b4b0b8ce8c6b395e5ea84f2c.tar.bz2
timeline-a585c6e35829e9f2b4b0b8ce8c6b395e5ea84f2c.zip
Merge pull request #47 from crupest/avatar-enhance
Use etag for avatar 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) { }
+ }
+}