It is also very helpful when writing code to know that a function you are calling will not throw an exception - it means you have three kinds of functions: those that do not throw, those with comments telling you what they throw, and those that you need to fix the comments for.