Change in ovirt-engine[master]: core: Remove IllegalOperationException

amureini at redhat.com amureini at redhat.com
Wed Dec 11 10:35:06 UTC 2013


Allon Mureinik has submitted this change and it was merged.

Change subject: core: Remove IllegalOperationException
......................................................................


core: Remove IllegalOperationException

Since IllegalOperationException is never caught directly, it can be
replaced with the standard Java IllegalArgumentException which carries
the exact same meaning and also extends RuntimeException.

Change-Id: Ib0505a889a60ea86e0473ed8651c1e47eee148c9
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/ActivateDeactivateSingleAsyncOperationFactory.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/AfterDeactivateSingleAsyncOperationFactory.java
D backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/InvalidOperationException.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/RefreshPoolSingleAsyncOperationFactory.java
4 files changed, 8 insertions(+), 13 deletions(-)

Approvals:
  Allon Mureinik: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib0505a889a60ea86e0473ed8651c1e47eee148c9
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Alissa Bonas <abonas at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Larissa Baracioli <lara.baracioli at gmail.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list