Package org.thymeleaf.exceptions

Examples of org.thymeleaf.exceptions.ConfigurationException


                      entry.getPublicID().matches(validatedEntry.getPublicID())
                      &&
                      entry.getSystemID().matches(validatedEntry.getSystemID())
                    )
                  ) {
                    throw new ConfigurationException(
                            "Dialect specifies at least a couple of Document type resolution " +
                            "entries that would match each other, which would render resolution " +
                            "unpredictable");
                }
            }
View Full Code Here


    final ITemplateModeHandler templateModeHandler = arguments.getConfiguration().getTemplateModeHandler(templateMode);
    final ITemplateWriter templateWriter = templateModeHandler.getTemplateWriter();

    if (templateWriter == null) {
      throw new ConfigurationException("No template writer defined for template mode \"" + templateMode + "\"");
    } else if (!AbstractGeneralTemplateWriter.class.isAssignableFrom(templateWriter.getClass())) {
      throw new ConfigurationException("The template writer defined for template mode \"" + templateMode
          + "\" is not an AbstractGeneralTemplateWriter");
    }

    StringWriter writer = new StringWriter();
    try {
View Full Code Here

    return connectionRepository;
  }

  private ApplicationContext getSpringApplicationContextFromThymeleafContext(final IContext context) {
    if (!(context instanceof SpringWebContext)) {
      throw new ConfigurationException(
          "Thymeleaf execution context is not a Spring web context (implementation of " +
          SpringWebContext.class.getName() + ". Spring Social integration can only be used in " +
          "web environements with a Spring application context.");
    }
    final SpringWebContext springContext = (SpringWebContext) context;
View Full Code Here

TOP

Related Classes of org.thymeleaf.exceptions.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.