Hi all,

I've just checked in SVN trunk the new ResourceException class and the necessary changes to Resource.

Here is the commit message:
- Added a ResourceException to facilitate the mapping between domain exceptions and response status. - Replaced getPreferredRepresentation() and getRepresentation(Variant) methods by represent() and represent(Variant) methods throwing ResourceExceptions.

The above changes are backward compatible but the deprecated methods will be removed in 1.2.

Best regards,
Jerome

Reply via email to