Package com.hlcl.rql.as

Examples of com.hlcl.rql.as.WrongTypeException


   *             if the given page is not an instance of responsible_table_row
   */
  public void linkResponsibleDepartment(Page responsibleTableRowPg) throws RQLException {
    String templateName = getParameter("responsibleRowTemplateName");
    if (!responsibleTableRowPg.isBasedOnTemplate(templateName)) {
      throw new WrongTypeException("You try to link page with wrong template " + responsibleTableRowPg.getTemplateName()
          + ". You can link only pages of content class " + templateName + ".");
    }

    // remove and connect
    List responsibleList = getResponsibleList();
View Full Code Here

TOP

Related Classes of com.hlcl.rql.as.WrongTypeException

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.