Exception handling – the old way