KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I was wondering what kind of exception should one throw for missing data. For example if an xml node doesn't contain data. It would be easy to " throw new Exception(...) " but this is not recommended. Another option would be to create a new exception class like MissingDataException or InvalidDataException but isn't there a built-in exception class for this case?
Tags (comma-separated)
Save Edits
Cancel