1 module irc.exception; 2 3 /** 4 * Thrown when an error occured parsing an IRC message. 5 */ 6 class IrcParseErrorException : Exception 7 { 8 this(string msg, string file = __FILE__, size_t line = __LINE__) 9 { 10 super(msg, file, line); 11 } 12 } 13 14 /** 15 * Thrown if an unconnected client was passed when a connected client was expected. 16 */ 17 class UnconnectedClientException : Exception 18 { 19 this(string msg, string file = __FILE__, size_t line = __LINE__) 20 { 21 super(msg, file, line); 22 } 23 }