exceptions: add some examples of using exception