Michael Kublin has posted comments on this change.
Change subject: core: Add event for free MAC failure
......................................................................
Patch Set 4: (1 inline comment)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MacPoolManager.java
Line 171: if (!mInitialized) {
Line 172: throw new
VdcBLLException(VdcBllErrors.MAC_POOL_NOT_INITIALIZED);
Line 173: }
Line 174: internalFreeMac(mac);
Line 175: } catch (Exception ex) {
Actually it is better not to throw exception and after that catch it in next
line, you can do if else
Line 176: log.debug("Failed to free MAC address",ex);
Line 177: log.errorFormat("Failed to free MAC address {0}.
Exception message is {1}", mac, ex.getMessage());
Line 178: AuditLogableBase logable = new AuditLogableBase();
Line 179: logable.AddCustomValue("MACAddr",mac);
--
To view, visit http://gerrit.ovirt.org/10197
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibaa3d9eb23016b4866e5cfa39f919378e09fdf2d
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches