protected void setWarnMessageInCookie(final HttpServletResponse response,
      final String errorMsg) {
    final Cookie cookie = new Cookie(AZKABAN_WARN_MESSAGE, errorMsg);
    cookie.setPath("/");
    response.addCookie(cookie);
  }
protected void setWarnMessageInCookie ( final HttpServletResponse response , final String errorMsg ) { final Cookie cookie = new Cookie ( AZKABAN_WARN_MESSAGE , errorMsg ) ; cookie . setPath ( "/" ) ; response . addCookie ( cookie ) ; }
Sets a warning message in azkaban.warn.message in the cookie. This will be used by the web
client javascript to somehow display the message