ezsystems/ezp-next — pull request #109 by emodric (2012-10-31 14:51:21+00:00)
Title: Object state service exceptions on existing identifiers

_DO NOT MERGE!_

This PR adds exceptions to object state service when creating/updating object state/group.

1) Currently ugly runtime exceptions are thrown all the way down from exception converter because of violated unique constraints.

2) Solves REST server spec requirement for throwing exceptions in such cases

Needs review by @docb22 because of API changes and from @tobyS because of API integration tests changes.