Examples of BeanDefinitionParsingException


Examples of com.firefly.core.support.exception.BeanDefinitionParsingException

    return ret;
  }

  private static void error(String msg) {
    log.error(msg);
    throw new BeanDefinitionParsingException(msg);
  }
View Full Code Here

Examples of com.firefly.core.support.exception.BeanDefinitionParsingException

   * @param msg
   *            异常信息
   */
  protected void error(String msg) {
    log.error(msg);
    throw new BeanDefinitionParsingException(msg);
  }
View Full Code Here

Examples of com.firefly.core.support.exception.BeanDefinitionParsingException

   * @param msg
   *            异常信息
   */
  protected void error(String msg) {
    log.error(msg);
    throw new BeanDefinitionParsingException(msg);
  }
View Full Code Here

Examples of com.firefly.core.support.exception.BeanDefinitionParsingException

    return ret;
  }

  private static void error(String msg) {
    log.error(msg);
    throw new BeanDefinitionParsingException(msg);
  }
View Full Code Here

Examples of com.firefly.core.support.exception.BeanDefinitionParsingException

  protected static Log log = LogFactory.getInstance().getLog("firefly-system");

  protected void error(String msg) {
    log.error(msg);
    throw new BeanDefinitionParsingException(msg);
  }
View Full Code Here

Examples of com.firefly.core.support.exception.BeanDefinitionParsingException

    return beanDefinitions;
  }

  protected void error(String msg) {
    log.error(msg);
    throw new BeanDefinitionParsingException(msg);
  }
View Full Code Here

Examples of com.firefly.core.support.exception.BeanDefinitionParsingException

    return ret;
  }

  protected void error(String msg) {
    log.error(msg);
    throw new BeanDefinitionParsingException(msg);
  }
View Full Code Here

Examples of org.springframework.beans.factory.parsing.BeanDefinitionParsingException

            Assert.notNull(uri, "Namespace definition cannot supply a null URI");

            final NamespaceHandler namespaceHandler = namespaceHandlerResolver.resolve(uri);
            if (namespaceHandler == null) {
                throw new BeanDefinitionParsingException(
                      new Problem("No namespace handler found for URI: " + uri,
                            new Location(readerContext.getResource())));
            }
            namespaceHandlers.put(namespace, namespaceHandler);
            namespaces.put(namespace, uri);
View Full Code Here

Examples of org.springframework.beans.factory.parsing.BeanDefinitionParsingException

            try {
                GroovyShell shell = classLoader == null ? new GroovyShell(b) : new GroovyShell(classLoader, b);
                shell.evaluate(new InputStreamReader(resource.getInputStream(), "UTF-8"));
            }
            catch (Throwable e) {
                throw new BeanDefinitionParsingException(
                        new Problem("Error evaluating bean definition script: " + e.getMessage(), new Location(resource), null, e));
            }
        }
    }
View Full Code Here

Examples of org.springframework.beans.factory.parsing.BeanDefinitionParsingException

    try {
      GroovyShell shell = new GroovyShell(getResourceLoader().getClassLoader(), binding);
      shell.evaluate(encodedResource.getReader(), encodedResource.getResource().getFilename());
    }
    catch (Throwable ex) {
      throw new BeanDefinitionParsingException(new Problem("Error evaluating Groovy script: " + ex.getMessage(),
          new Location(encodedResource.getResource()), null, ex));
    }
    return getRegistry().getBeanDefinitionCount() - countBefore;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.