Exception handling and looping.