I'm using Spring and wanted to know how I can return @Repository and / or @Service exception errors for my webservice?
I have the following structure:
[ Webservice ] ------ [ @service/@Transactional ] ------- [ @Repository ]
When throwing some exception in my DAO what is the elegant way to treat and return to my webservice?