Chapter 3. Errors and Exceptions
As software developers, we often daydream of a perfect world of bug-free softwaredeveloped on a remote island while sitting under a palm tree sipping a fruity beverage. But alas, back in the cubicle farm sipping on acrid coffee sit hoards of real developers, fighting real-world bugs that are not always our fault or under our control in any way.
Exceptions can occur in even the most stringently tested software, simply because not every condition can be checked for in advance. For instance, do you know what will happen if a janitor, while cleaning the data-center floor, accidentally slops some mop water into the fan enclosure of the database server? It might crash, or it might not; it might just cause some component ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access