guvnor-rest: Removing use of the RestOperationException

(cherry picked from commit f7ca846783c4bd1f5c2fed25cd6a067f776957fb)