How do I make Alfresco rollback the transaction when my DeclarativeWebscript discovers an error?
All my REST-calls return an XML (with the Freemaker Template) that has a standard format containing a status-tag. So I am not interested in the error generated when the WebScriptException is thrown.
Can I call a specific function in java or should I override the WebScriptException?