Examples of work with exceptions