when create local link netowrk fails for xenserver, adding host should fail

This commit is contained in:
Anthony Xu 2013-07-23 15:03:01 -07:00
parent e13959afc3
commit 121f947f62
1 changed files with 2 additions and 0 deletions

View File

@ -4921,8 +4921,10 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
} catch (XenAPIException e) {
s_logger.warn("Unable to create local link network", e);
throw new CloudRuntimeException("Unable to create local link network due to " + e.toString(), e);
} catch (XmlRpcException e) {
s_logger.warn("Unable to create local link network", e);
throw new CloudRuntimeException("Unable to create local link network due to " + e.toString(), e);
}
}