Added the ability to throw an error message to the web form. Just add:
ResultPresentation resultPresentation = new ResultPresentation();
resultPresentation.createErrorResponse("Test error message to user!!!");