Author: alanmc
Date: 2006-09-17 07:15:42 -0400 (Sun, 17 Sep 2006)
New Revision: 65529
Added:
trunk/bitsharp/src/MonoTorrent.Client/ConnectionManagerException.cs
trunk/bitsharp/src/MonoTorrent.Client/ProtocolException.cs
Log:
New exception classes
Added: trunk/bitsharp/src/MonoTorrent.Client/ConnectionManagerException.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Client/ConnectionManagerException.cs
2006-09-17 11:14:07 UTC (rev 65528)
+++ trunk/bitsharp/src/MonoTorrent.Client/ConnectionManagerException.cs
2006-09-17 11:15:42 UTC (rev 65529)
@@ -0,0 +1,52 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace MonoTorrent.Client
+{
+ /// <summary>
+ ///
+ /// </summary>
+ public class ConnectionManagerException : Exception
+ {
+ /// <summary>
+ ///
+ /// </summary>
+ public ConnectionManagerException()
+ : base()
+ {
+ }
+
+
+ /// <summary>
+ ///
+ /// </summary>
+ /// <param name="message"></param>
+ public ConnectionManagerException(string message)
+ : base(message)
+ {
+ }
+
+
+ /// <summary>
+ ///
+ /// </summary>
+ /// <param name="message"></param>
+ /// <param name="innerException"></param>
+ public ConnectionManagerException(string message, Exception
innerException)
+ : base(message, innerException)
+ {
+ }
+
+
+ /// <summary>
+ ///
+ /// </summary>
+ /// <param name="info"></param>
+ /// <param name="context"></param>
+ public
ConnectionManagerException(System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context)
+ : base(info, context)
+ {
+ }
+ }
+}
Property changes on:
trunk/bitsharp/src/MonoTorrent.Client/ConnectionManagerException.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added: trunk/bitsharp/src/MonoTorrent.Client/ProtocolException.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Client/ProtocolException.cs 2006-09-17
11:14:07 UTC (rev 65528)
+++ trunk/bitsharp/src/MonoTorrent.Client/ProtocolException.cs 2006-09-17
11:15:42 UTC (rev 65529)
@@ -0,0 +1,32 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace MonoTorrent.Client
+{
+ public class ProtocolException : Exception
+ {
+ public ProtocolException()
+ :base()
+ {
+ }
+
+
+ public ProtocolException(string message)
+ : base(message)
+ {
+ }
+
+
+ public ProtocolException(string message, Exception innerException)
+ : base(message, innerException)
+ {
+ }
+
+
+ public
ProtocolException(System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context)
+ : base(info, context)
+ {
+ }
+ }
+}
Property changes on: trunk/bitsharp/src/MonoTorrent.Client/ProtocolException.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches