Swapper.NET Logo

Source Code Interfaces ~ Exceptions.cs


using System;
using System.Runtime.Serialization;
using RevolutionaryStuff.JBT;

namespace RevolutionaryStuff.P2P.Basics
{
	/// 
	/// Base P2P Exception.
	/// 
	/// It would be nice if all P2P PlugIns threw exceptions relating to this type
	public class P2PException : JbtException
	{
		#region Constructors
		public P2PException()
		{}
		public P2PException(string message) : base(message)
		{}
		public P2PException(string message, Exception inner) : base(message, inner)
		{}
		protected P2PException(SerializationInfo info, StreamingContext context) : base(info, context)
		{}	
		#endregion
	}
}