vestabu / odata4j

Automatically exported from code.google.com/p/odata4j
0 stars 0 forks source link

Throw appropriate ODataProducerException subtype in the consumer api #203

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
e.g. for 404s we should throw NotFoundException, not ODataProducerException

Allows consumers to catch (NotFoundException e) directly - required since many 
of our consumer apis (getEntity, deleteEntity) throw when the entity is not 
found.

Part of the exception unification work in 0.7.

Original issue reported on code.google.com by john.spurlock on 6 Aug 2012 at 11:46

GoogleCodeExporter commented 8 years ago
Fixed with revision b61e31dff568.

Original comment by philipp.sebastian.thun on 9 Aug 2012 at 12:12