As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
import org.alfresco.web.ui.common.Utils;public void execute(ExecutionContext executionContext) throws Exception { Utils.addErrorMessage("This is my error message"); throw new Exception();}