Examples of TGroupDataSourceException


Examples of com.taobao.tddl.jdbc.group.exception.TGroupDataSourceException

  /**
   * ����������TAtomDataSource��������dbGroupKey��appName�������Ե�ֵ�Ƿ�Ϸ�
   */
  private void checkProperties() {
    if (dbGroupKey == null)
      throw new TGroupDataSourceException("dbGroupKey����Ϊnull");
    dbGroupKey = dbGroupKey.trim();
    if (dbGroupKey.length() < 1)
      throw new TGroupDataSourceException("dbGroupKey�ij���Ҫ����0��ǰ���հ׺�β���հײ�������");

    if (appName == null)
      throw new TGroupDataSourceException("appName����Ϊnull");
    appName = appName.trim();
    if (appName.length() < 1)
      throw new TGroupDataSourceException("appName�ij���Ҫ����0��ǰ���հ׺�β���հײ�������");
  }
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.