Allon Mureinik has uploaded a new change for review.

Change subject: engine: Partial revert of 
20d4297bf8d85505f9ed9b4aabcce13a6e5e1f90
......................................................................

engine: Partial revert of 20d4297bf8d85505f9ed9b4aabcce13a6e5e1f90

Reverted part of 20d4297bf8d85505f9ed9b4aabcce13a6e5e1f90 which was
pushed by mistake.

Change-Id: Ia6dd6683058e5ebc106fe63e54ffbbc6417c461c
Signed-off-by: Allon Mureinik <amure...@redhat.com>
---
M 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendCollectionResource.java
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/97/19097/1

diff --git 
a/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendCollectionResource.java
 
b/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendCollectionResource.java
index 8ffc94f..4f82d9c 100644
--- 
a/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendCollectionResource.java
+++ 
b/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendCollectionResource.java
@@ -173,7 +173,7 @@
                 method = entityResource.getClass().getMethod("get");
                 method.invoke(entityResource);
             }
-        } catch (IllegalAccessException | SecurityException | 
NoSuchMethodException e) {
+        } catch (IllegalAccessException e) {
             LOG.error("Reflection Error", e);
         } catch (InvocationTargetException e) {
             if (e.getTargetException() instanceof WebApplicationException) {
@@ -181,6 +181,10 @@
             } else {
                 LOG.error("Reflection Error", e);
             }
+        } catch (SecurityException e) {
+            LOG.error("Reflection Error", e);
+        } catch (NoSuchMethodException e) {
+            LOG.error("Reflection Error", e);
         }
     }
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia6dd6683058e5ebc106fe63e54ffbbc6417c461c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amure...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to