Package com.codingcrayons.aspectfaces.exceptions

Examples of com.codingcrayons.aspectfaces.exceptions.ConfigurationNotSetException


  public String generate(Context context, Settings settings) throws ConfigurationNotSetException,
    TemplateFileNotFoundException, AnnotationNotRegisteredException, EvaluatorException,
    AnnotationNotFoundException, TemplateFileAccessException, InspectionException, TagParserException {

    if (this.configuration == null) {
      throw new ConfigurationNotSetException("Configuration is not set for AFWeaver generation");
    }

    configuration.setSettings(settings);
    context.setConfiguration(configuration);
View Full Code Here


  }

  public StringBuilder getTag(String fileTemplatePath) throws TemplateFileNotFoundException,
    ConfigurationNotSetException {
    if (Strings.isBlank(this.getSettings().getGalleryDirectory())) {
      throw new ConfigurationNotSetException("Configuration does not specify gallery path");
    }
    // do not use File.separator for win
    return getTemplate(fileTemplatePath, getDelimiter() + this.getSettings().getGalleryDirectory());
  }
View Full Code Here

TOP

Related Classes of com.codingcrayons.aspectfaces.exceptions.ConfigurationNotSetException

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.