rename.2.tfsbot
[tfs.git] / tools / tfsbot / SmartIrc4net / Exceptions.cs
blob468ba6a011c7b499ecfb1099c5775c072895e1a3
1 /*
2 * $Id: Exceptions.cs 198 2005-06-08 16:50:11Z meebey $
3 * $URL: svn://svn.qnetp.net/smartirc/SmartIrc4net/tags/0.4.0/src/Exceptions.cs $
4 * $Rev: 198 $
5 * $Author: meebey $
6 * $Date: 2005-06-08 18:50:11 +0200 (Wed, 08 Jun 2005) $
8 * SmartIrc4net - the IRC library for .NET/C# <http://smartirc4net.sf.net>
10 * Copyright (c) 2003-2005 Mirco Bauer <meebey@meebey.net> <http://www.meebey.net>
12 * Full LGPL License: <http://www.gnu.org/licenses/lgpl.txt>
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; either
17 * version 2.1 of the License, or (at your option) any later version.
19 * This library is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Lesser General Public License for more details.
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with this library; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 using System;
30 using System.Runtime.Serialization;
32 namespace Meebey.SmartIrc4net
34 /// <threadsafety static="true" instance="true" />
35 [Serializable()]
36 public class SmartIrc4netException : ApplicationException
38 public SmartIrc4netException() : base()
42 public SmartIrc4netException(string message) : base(message)
46 public SmartIrc4netException(string message, Exception e) : base(message, e)
50 protected SmartIrc4netException(SerializationInfo info, StreamingContext context) : base(info, context)
55 /// <threadsafety static="true" instance="true" />
56 [Serializable()]
57 public class ConnectionException : SmartIrc4netException
59 public ConnectionException() : base()
63 public ConnectionException(string message) : base(message)
67 public ConnectionException(string message, Exception e) : base(message, e)
71 protected ConnectionException(SerializationInfo info, StreamingContext context) : base(info, context)
76 /// <threadsafety static="true" instance="true" />
77 [Serializable()]
78 public class CouldNotConnectException : ConnectionException
80 public CouldNotConnectException() : base()
84 public CouldNotConnectException(string message) : base(message)
88 public CouldNotConnectException(string message, Exception e) : base(message, e)
92 protected CouldNotConnectException(SerializationInfo info, StreamingContext context) : base(info, context)
97 /// <threadsafety static="true" instance="true" />
98 [Serializable()]
99 public class NotConnectedException : ConnectionException
101 public NotConnectedException() : base()
105 public NotConnectedException(string message) : base(message)
109 public NotConnectedException(string message, Exception e) : base(message, e)
113 protected NotConnectedException(SerializationInfo info, StreamingContext context) : base(info, context)
118 /// <threadsafety static="true" instance="true" />
119 [Serializable()]
120 public class AlreadyConnectedException : ConnectionException
122 public AlreadyConnectedException() : base()
126 public AlreadyConnectedException(string message) : base(message)
130 public AlreadyConnectedException(string message, Exception e) : base(message, e)
134 protected AlreadyConnectedException(SerializationInfo info, StreamingContext context) : base(info, context)