Package com.liferay.portal.kernel.events

Examples of com.liferay.portal.kernel.events.ActionException


  public void run(String[] ids) throws ActionException {
    try {
      doRun(GetterUtil.getLong(ids[0]));
    }
    catch (Exception e) {
      throw new ActionException(e);
    }
  }
View Full Code Here


      if (Validator.isNotNull(oldThemeIdPattern) && Validator.isNotNull(newThemeIdPattern) && !oldThemeIdPattern.equals(newThemeIdPattern)) {
        try {
          updateLayouts(oldThemeIdPattern, newThemeIdPattern);
        } catch (Exception ex) {
          throw new ActionException(ex);
        }
      }
    }
  }
View Full Code Here

        RegionServiceUtil.addRegion(countryId, "SE","Sergipe", true);
        RegionServiceUtil.addRegion(countryId, "SP","São Paulo", true);
        RegionServiceUtil.addRegion(countryId, "TO","Tocantins", true);
      }
    } catch (Exception e) {
      throw new ActionException(e);
    } finally {
      PermissionThreadLocal.setPermissionChecker(permissionChecker);
    }

  }
View Full Code Here

TOP

Related Classes of com.liferay.portal.kernel.events.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.