[Serializable] public class NewException : Exception { public NewException () : base() { } public NewException (string message) : base(message) { } public NewException (string message, Exception innerException) : base(message, innerException) { } protected NewException (SerializationInfo info, StreamingContext context) : base(info, context) { } }