diff --git a/DiscordBot/DiscordBot.csproj b/DiscordBot/DiscordBot.csproj index 62aed77..be41af2 100644 --- a/DiscordBot/DiscordBot.csproj +++ b/DiscordBot/DiscordBot.csproj @@ -230,6 +230,8 @@ + + diff --git a/DiscordBot/Exceptions/AwardNotFoundException.cs b/DiscordBot/Exceptions/AwardNotFoundException.cs new file mode 100644 index 0000000..eda009b --- /dev/null +++ b/DiscordBot/Exceptions/AwardNotFoundException.cs @@ -0,0 +1,25 @@ +using System; +using System.Runtime.Serialization; + +namespace DiscordBot.Exceptions +{ + [Serializable] + public class AwardNotFoundException : Exception + { + public AwardNotFoundException() + { + } + + public AwardNotFoundException(string message) : base(message) + { + } + + public AwardNotFoundException(string message, Exception inner) : base(message, inner) + { + } + + protected AwardNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } + } +} \ No newline at end of file diff --git a/DiscordBot/Exceptions/UserNotFoundException.cs b/DiscordBot/Exceptions/UserNotFoundException.cs new file mode 100644 index 0000000..96b25ef --- /dev/null +++ b/DiscordBot/Exceptions/UserNotFoundException.cs @@ -0,0 +1,25 @@ +using System; +using System.Runtime.Serialization; + +namespace DiscordBot.Exceptions +{ + [Serializable] + public class UserNotFoundException : Exception + { + public UserNotFoundException() + { + } + + public UserNotFoundException(string message) : base(message) + { + } + + public UserNotFoundException(string message, Exception inner) : base(message, inner) + { + } + + protected UserNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } + } +} \ No newline at end of file