Imagine a scenario where you’re writing an application and every time you compile and run your code everything works flawlessly. OK, you can stop laughing now. Whether you’re a novice or seasoned developer, one thing is constant: exceptions occurring. While it would be nice if our code worked without problems, but for one reason or another, we’re bound to encounter problems. Luckily, we have the ability to prepare our code to account for and manage exceptions.
In this chapter, we’re going to take a look at types of exceptions ...