sharp-chat/SharpChat.Common/Protocol/ProtocolException.cs

11 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.") { }
}
}