doc/intro: add exception-handling examples