Examples of PareseException


Examples of cn.com.parese.exception.PareseException

  public void doParese(Element element) throws PareseException {

    Attribute attributeValue = element.attribute(ATTRIBUTE_VALUE);
    if (attributeValue == null) {
      throw new PareseException("Not found necessary attribute." + attributeValue);
    }
    Attribute attributePre = element.attribute(ATTRIBUTE_PREPEND);
    Attribute attributeEmpty = element.attribute(ATTRIBUTE_EMPTY);
    List<Append> appends = result.getAppends();
    Append append = new Append();
View Full Code Here

Examples of cn.com.parese.exception.PareseException

  public void doParese(Element element) throws PareseException {
    Attribute attributeType = element.attribute(ATTRIBUTE_TYPE);

    if (attributeType == null) {
      throw new PareseException("Not found necessary attribute." + attributeType);
    }
    Attribute attributeValue = element.attribute(ATTRIBUTE_VALUE);
    Attribute attributeID = element.attribute(ATTRIBUTE_ID);

    result.setRetultType(attributeType.getStringValue());
View Full Code Here

Examples of cn.com.parese.exception.PareseException

    Attribute attributeLog = element.attribute(ATTRIBUTE_LOG);
    Attribute attributeTransaction = element.attribute(ATTRIBUTE_TRANSACTION);
    Attribute attributeVerify = element.attribute(ATTRIBUTE_VERIFY);

    if (attributeBeanId == null) {
      throw new PareseException("Not found necessary attribute." + attributeBeanId);
    }

    if (attributeMethod == null) {
      throw new PareseException("Not found necessary attribute." + attributeMethod);
    }
    Attribute attributeId = element.attribute(ATTRIBUTE_ID);
    ModuleSource source = ModuleSource.INSTANCE;
    ModuleMethodSource methodConfig = new ModuleMethodSource();
    // 设定方法名
View Full Code Here

Examples of cn.com.parese.exception.PareseException

    Attribute attributeMethod = element.attribute(ATTRIBUTE_METHOD);
    Attribute attributeId = element.attribute(ATTRIBUTE_ID);

    if (attributeId == null) {
      if (attributeBeanId == null) {
        throw new PareseException("Not found necessary attribute." + attributeBeanId);
      }

      if (attributeMethod == null) {
        throw new PareseException("Not found necessary attribute." + attributeMethod);
      }
    } else {
      if (attributeId == null) {
        throw new PareseException("Not found necessary attribute." + attributeId);
      }
    }
    Attribute attributeDivision = element.attribute(ATTRIBUTE_DIVISION);

View Full Code Here

Examples of cn.com.parese.exception.PareseException

  }

  public void doParese(Element element) throws PareseException {
    Attribute attr = element.attribute(ATTRIBUTE_TYPE);
    if (attr == null) {
      throw new PareseException("Not found necessary attribute.");
    }

    FactoryBuilder.createTransactionactory(attr.getStringValue());
  }
View Full Code Here

Examples of cn.com.parese.exception.PareseException

  public void doParese(Element element) throws PareseException {
    Attribute attributeType = element.attribute(ATTRIBUTE_TYPE);
    Attribute attributeValue = element.attribute(ATTRIBUTE_VALUE);
    if (attributeType == null) {
      throw new PareseException("Not found necessary attribute." + attributeType);
    }

    Attribute attributeID = element.attribute(ATTRIBUTE_ID);
    List<ParameterType> parameters = parameter.getParameters();
View Full Code Here

Examples of cn.com.parese.exception.PareseException

    }

    public void doParese(Element element) throws PareseException {
        Attribute attr = element.attribute(ATTRIBUTE_TYPE);
        if (attr == null) {
            throw new PareseException("Not found necessary attribute.");
        }

        FactoryBuilder.createLoggerFactory(attr.getStringValue());
    }
View Full Code Here

Examples of cn.com.parese.exception.PareseException

  public void doParese(Element element) throws PareseException {
    Attribute attributeProperty = element.attribute(ATTRIBUTE_PROPERTY);
    Attribute attributeValue = element.attribute(ATTRIBUTE_VALUE);

    if (attributeProperty == null) {
      throw new PareseException("Not found necessary attribute." + attributeProperty);
    }

    if (attributeValue == null) {
      throw new PareseException("Not found necessary attribute." + attributeValue);
    }

    // 解析xml内部组件
    Iterator<Element> it = element.elementIterator();
    Element subElement = null;
View Full Code Here

Examples of cn.com.parese.exception.PareseException

  }

  public void doParese(Element element) throws PareseException {
    Attribute attr = element.attribute(ATTRIBUTE_TYPE);
    if (attr == null) {
      throw new PareseException("Not found necessary attribute.");
    }

    FactoryBuilder.createBeanFactory(attr.getStringValue());
  }
View Full Code Here

Examples of cn.com.parese.exception.PareseException

        //      throw new PareseException("Not found necessary attribute." + attributeType);
        //    }

        Attribute attributeID = element.attribute(ATTRIBUTE_ID);
        if (attributeValue == null) {
            throw new PareseException("Not found necessary attribute." + attributeValue);
        }
        if (attributeID == null) {
            throw new PareseException("Not found necessary attribute." + attributeID);
        }

        Map<String, String> propertyMappings = parameter.getBeanFieldMap();

        if (propertyMappings == null) {
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.