Handle multiple exceptions