protected void renderAjaxError(String error, Exception e) {
        renderJson(AjaxMessage.error(error, e));
    }
protected void renderAjaxError(String error, Exception e) {
        renderJson(AjaxMessage.error(error, e));
    }
protected void renderAjaxError ( String error , Exception e ) { renderJson ( AjaxMessage . error ( error , e ) ) ; }
Rendering errors information, in Json format.

@param error errors information.
@param e     exception.
Rendering errors information in Json format .