
Juan Hernandez has submitted this change and it was merged. Change subject: restapi: Add V3 IO exception mapper ...................................................................... restapi: Add V3 IO exception mapper Currently version 3 of the API doesn't have a specific IO exception mapper, as exceptions are handled by version 4, and then tranlsated to the version 3 format. But some exceptions happen before version 4 is called, for example the exceptions that happen during validation of integer values. In order to handle this kind of exceptions like we used to do in the past, we need a version 3 specific mapper. This patch adds it. Change-Id: I2622a162bfd92bc29bb35271e918c9cc7f3c8b6f Bug-Url: https://bugzilla.redhat.com/1339907 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> --- M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/V3Application.java A backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/V3IOExceptionMapper.java A backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/V3UsageFinder.java 3 files changed, 187 insertions(+), 0 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/58260 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I2622a162bfd92bc29bb35271e918c9cc7f3c8b6f Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Ori Liel <oliel@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>