We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Again a great example of how bad the test cases are written. Any professional would have caught the exceptions together and logged / souted them in a uniform way like this:
This is best practise for any team I worked with and definitely the cleanest way to solve this. But thanks to the nitpicking test cases, beginners learn to catch exceptions in an utterly bloated way:
Java Exception Handling (Try-catch)
You are viewing a single comment's thread. Return to all comments →
Again a great example of how bad the test cases are written. Any professional would have caught the exceptions together and logged / souted them in a uniform way like this:
This is best practise for any team I worked with and definitely the cleanest way to solve this. But thanks to the nitpicking test cases, beginners learn to catch exceptions in an utterly bloated way: