Added info about exceptions to examples.