Add empty/default constructor and if error still appear add specific constructor like in class below:
[Serializable]
public class AssertionException : ApplicationException {
public AssertionException(SerializationInfo info, StreamingContext context) : base(info, context) {}
public AssertionException() : base() { }
No comments:
Post a Comment