Exception design: Custom exceptions reading data from file?
- by User
I have a method that reads data from a comma separated text file and constructs a list of entity objects, let's say customers.
So it reads for example,
Name
Age
Weight
Then I take these data objects and pass them to a business layer that saves them to a database. Now the data in this file might be invalid, so I'm trying to figure out the best…