Package com.orange.wro.taglib.config

Examples of com.orange.wro.taglib.config.ConfigurationException


        for (String groupName : groupNames) {

            FilesGroup group = config.getGroup(groupName);
            if (group == null) {
                throw new ConfigurationException("group '" + groupName
                        + "' was not found.");
            }

            if (exploded) {
                includeExploded(output, group);
View Full Code Here


  private void includeExploded(StringBuilder builder, FilesGroup group)
      throws ConfigurationException {
    List<String> files = group.get(getGroupType());
    if (files == null || files.isEmpty()) {
      throw new ConfigurationException(
          "exploded file list for group type '" + getGroupType()
              + "' for group '" + group.getName()
              + "' was not found.");
    }
View Full Code Here

  private void include(StringBuilder builder, FilesGroup group)
      throws ConfigurationException {
    String fileName = group.getMinimizedFile(getGroupType());
    if (fileName == null) {
      throw new ConfigurationException("minimized file for group type '"
          + getGroupType() + "' for group '" + group.getName()
          + "' was not found.");
    }
    writeLink(builder, fileName);
  }
View Full Code Here

TOP

Related Classes of com.orange.wro.taglib.config.ConfigurationException

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.