Michael Kublin has posted comments on this change.

Change subject: engine : Code clean up
......................................................................


Patch Set 1: (3 inline comments)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandsFactory.java
Line 42:         catch (java.lang.Exception e) {
Done

Line 70:         } catch (java.lang.Exception e) {
Done

Line 89:             log.errorFormat("Command Factory: Failed to create command 
{0} using reflection\n. {1}", type, e);
The first of all: the  patch is just code clean up, it is not supposed to fix 
error message and etc..
But, at any case : ExceptionUtils.getMessage(e) - you don't need to use this, 
just use e.getMessage() . Also , the logger is printing exception pretty well , 
as for me

--
To view, visit http://gerrit.ovirt.org/1138
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I026764ba88e0651126829ec5a46de01d4786a50c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to