Package com.founder.fix.fixflow.core.exception

Examples of com.founder.fix.fixflow.core.exception.FixFlowDbException


     
      boolean isContainsSub = StringUtil.getBoolean(resourceRoleObj.eGet(FixFlowPackage.Literals.DOCUMENT_ROOT__IS_CONTAINS_SUB));

      FormalExpression expression = (FormalExpression) resourceRoleObj.getResourceAssignmentExpression().getExpression();
      if (expression == null) {
        throw new FixFlowDbException("处理者表达式不能为空!");
      }
      TaskAssigneeDefinitionTo taskAssigneeDefinitionTo = new TaskAssigneeDefinitionTo();
      taskAssigneeDefinitionTo.setResourceRange(resourceRange);

     
View Full Code Here


        return this.connection;

      }
    } catch (Exception e) {
      e.printStackTrace();
      throw new FixFlowDbException(e.getMessage(), e);
    }
  }
View Full Code Here

        this.connection.close();
      }

    } catch (SQLException e) {
      e.printStackTrace();
      throw new FixFlowDbException(e.getMessage(), e);
    }
  }
View Full Code Here

  public void commitConnection() {
    try {
      this.connection.commit();
    } catch (SQLException e) {
      e.printStackTrace();
      throw new FixFlowDbException(e.getMessage(), e);
    }
  }
View Full Code Here

  public void rollBackConnection() {
    try {
      this.connection.rollback();
    } catch (SQLException e) {
      e.printStackTrace();
      throw new FixFlowDbException(e.getMessage(), e);
    }
  }
View Full Code Here

        throw new FixFlowException("数据库链接创建失败!", e);
      }// com.mysql.jdbc.Driver

      this.connection = connection;
      if (this.connection == null) {
        throw new FixFlowDbException("ID为" + this.dbId + "的数据库连接创建失败!");
      }

      return this.connection;
    } else {
      return this.connection;
View Full Code Here

      }

    } catch (SQLException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
      throw new FixFlowDbException(e.getMessage(), e);
    }
  }
View Full Code Here

    try {
      this.connection.commit();
    } catch (SQLException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
      throw new FixFlowDbException(e.getMessage(), e);
    }
  }
View Full Code Here

    try {
      this.connection.rollback();
    } catch (SQLException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
      throw new FixFlowDbException(e.getMessage(), e);
    }
  }
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.core.exception.FixFlowDbException

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.