AnsweredAssumed Answered

Error handling in ActionExecuter

Question asked by asiro on Dec 5, 2011
Latest reply on Apr 17, 2012 by mirko79
Hi all,

Having a client which posts file via the /alfresco/service/api/upload and having some application logic in a rule (implemented in Java, extending ActionExecuterAbstractBase) what is the way to communicate meaningfull errors back to client if the rule detects some error condition?

Throwing an exception returns an Http 500, instead I would like to send and error message via JSON for example.