sharp-chat/SharpChat.Common/Protocol/ProtocolException.cs
2022-08-30 17:05:29 +02:00

12 lines
352 B
C#

using System;
namespace SharpChat.Protocol {
public class ProtocolException : Exception {
public ProtocolException(string message) : base(message) { }
}
public class ProtocolAlreadyListeningException : ProtocolException {
public ProtocolAlreadyListeningException() : base(@"Protocol is already listening.") { }
}
}