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 dfdbf20b67
commit 089cbb610b
1 changed files with 2 additions and 0 deletions

View File

@ -4885,8 +4885,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);
}
}