query: .NET: Which Exception to Throw When Required Property is Not Set?
positive_passages.docid: 131486
positive_passages.text: Is there a built in .NET exception that indicates an illegal object state?
negative_passages.docid: 56976
negative_passages.text: IDataErrorInfo vs ValidationRule vs Exception
negative_passages.docid: 64071
negative_passages.text: Should I always specify an exception type in `except` statements?
negative_passages.docid: 3699
negative_passages.text: What is the correct way to make a custom .NET Exception serializable?
negative_passages.docid: 8203
negative_passages.text: How to avoid the system.Limit.exception error in test class
negative_passages.docid: 17004
negative_passages.text: Is there a .NET collection interface that prevents adding objects?
negative_passages.docid: 95280
negative_passages.text: Do declared properties require a corresponding instance variable?
negative_passages.docid: 20329
negative_passages.text: Can you use "where" to require an attribute in c#?
negative_passages.docid: 135033
negative_passages.text: How can I break on an unhandled exception in ASP.NET?
negative_passages.docid: 120780
negative_passages.text: How to force MVC to Validate IValidatableObject
negative_passages.docid: 80039
negative_passages.text: Can I fail to deserialize with XmlSerializer in C# if an element is not found?
negative_passages.docid: 88899
negative_passages.text: How can I determine the current exception in a catch (...) block?
negative_passages.docid: 119615
negative_passages.text: Java: Exceptions as control flow?
negative_passages.docid: 83357
negative_passages.text: Validating required selection in DropDownList
negative_passages.docid: 15297
negative_passages.text: Why AccessViolationException cannot be caught by .NET4.0
negative_passages.docid: 97368
negative_passages.text: How can I set up .NET UnhandledException handling in a Windows service?
negative_passages.docid: 7021
negative_passages.text: Why does Property Set throw StackOverflow exception?