I have been tasked with the title above. There is currently zero exception handling. There are 100+ threads, all created from main()
Tag : exceptions
I’m thinking that I could simplify my life by making an exception handling class that I can just ship all exceptions to and it will handle appropri..
I often see myself trying to follow my own code to find out where the exception came..
This question already has an answer here: Code Coverage or Test Brevity? (1 answer) Closed last year. I have a code-coverage requirement of of a certain percentage, and face the following tradeoff: Should I sacrifice in-method sanity checks and error handling for ease of (unit-) testability? Lets consider two variants of a simple method addAndSquare. ..