using System; using System.Runtime.Serialization; namespace IndianHealthService.BMXNet { /// /// This simple exception wrapper is used for Exceptions thrown by umknown sources and /// by the BMX library. Check the InnerException for details. /// [Serializable] public class BMXNetException : System.ApplicationException { public BMXNetException() { } public BMXNetException(string message) : base(message) { } public BMXNetException(string message, Exception inner) : base(message, inner) { } // deserialization constructor public BMXNetException(SerializationInfo info, StreamingContext context): base(info, context) { } } }