function getData() {
try {
return file_get_contents('http://webservice......');
} catch (ErrorException $ex) {
try {
return file_get_contents('http://web_service......');
} catch (ErrorException $ex) {
throw new SpecificRuntimeException('bla bla bla');
}
}
}