Package com.liferay.portal.struts

Examples of com.liferay.portal.struts.ActionException


      l = UserCommentsFactory.getUserCommentsByUserId(userCommentId, minIndex, perPage);
     
   
    catch (Exception e) {
      Logger.error(ViewUserCommentsAction.class,e.getMessage());
      throw new ActionException (e.getMessage());

    }
    req.setAttribute("numrows",(new Integer(numrows)));
    req.setAttribute(WebKeys.USER_COMMENTS_VIEW, l);
View Full Code Here


      // Reset the locale

      ses.removeAttribute(Globals.LOCALE_KEY);
    }
    catch (Exception e) {
      throw new ActionException(e);
    }
  }
View Full Code Here

    try {
      _log.debug("Running");
    }
    catch (Exception e) {
      throw new ActionException(e);
    }
  }
View Full Code Here

          try {
            a.run(req, res);
          }
          catch (Exception e) {
            throw new ActionException(e);
          }
        }
        else if (obj instanceof SessionAction) {
          SessionAction sa = (SessionAction)obj;

          try {
            sa.run(ses);
          }
          catch (Exception e) {
            throw new ActionException(e);
          }
        }
        else if (obj instanceof SimpleAction) {
          SimpleAction sa = (SimpleAction)obj;

          try {
            sa.run(ids);
          }
          catch (Exception e) {
            throw new ActionException(e);
          }
        }
      }
    }
  }
View Full Code Here

  public void run(String[] ids) throws ActionException {
    try {
      _log.debug("Running");
    }
    catch (Exception e) {
      throw new ActionException(e);
    }
  }
View Full Code Here

    try {
      _log.debug("Running");
    }
    catch (Exception e) {
      throw new ActionException(e);
    }
  }
View Full Code Here

     
      req.setAttribute(WebKeys.LAYOUT, layout);
      req.setAttribute(WebKeys.LAYOUTS, ls);
    }
    catch (Exception e) {
      throw new ActionException(e);
    }
  }
View Full Code Here

    try {
      _log.debug("Running");
    }
    catch (Exception e) {
      throw new ActionException(e);
    }
  }
View Full Code Here

  public void run(HttpSession ses) throws ActionException {
    try {
      _log.debug(ses.getId());
    }
    catch (Exception e) {
      throw new ActionException(e);
    }
  }
View Full Code Here

      SimpleCachePool.put(
        StartupAction.class.getName() + ".uptime", new Date());

    }
    catch (Exception e) {
      throw new ActionException(e);
    }
  }
View Full Code Here

TOP

Related Classes of com.liferay.portal.struts.ActionException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.