Closed mikeastarb closed 8 years ago
Are there any more specific exceptions we could throw instead of just Exception? If not, could you create one? We might need to have a conversation about how to handle this since we're going to have to when we do more findbugs/PMD fixes.
We'll handle that generic Exception issue as part of #117
Sounds good to me. I'm wasn't too sure what the convention is for our exception handling and digging around for best practices online only gets me as far as opinion wars between what should or shouldn't be checked and if those exceptions should be sub-classes or generics with messages. Do we have a guideline to help make that kind of call?
We do not have an established guideline. Right now EWD has a handful of specialized exceptions. I don't think it would hurt to add a few more, but I wouldn't want that number to explode eventually either. Let's talk about it at the next meeting.
Apologies for the noise in the removal of extra white space.
This PR closes #103, closes #104, and closes #108
I'm open to suggestion on other, perhaps, better ways to do this, so please feel free to make suggestions.