catch multiple exceptions properly.