using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RidR.Exceptions { [Serializable] internal class ProtocolException : Exception { internal ProtocolException() : base("Could not interpret the command. The command or argument list was probably not formated correctly") { } // A constructor is needed for serialization when an // exception propagates from a remoting server to the client. internal protected ProtocolException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } } }