code: public void addValue(String propertyId, int orderNum, String identifier) throws VCASException
     {
  
        try
        {
           Connection con = dataSource.getConnection();
           try
           {
              PreparedStatement ps = con.prepareStatement(sqlAddRecord);
              ps.setString(1, propertyId);
              ps.setInt(2, orderNum);
              ps.setString(3, identifier);
              ps.executeUpdate();
              ps.close();
           }
           finally
           {
              con.close();
           }
        }
        catch (SQLException e)
        {
           // check is it a primary key vioaltion or smth else
           // if primary key - it's record already exists issue, VCAS error otherwise.
           if (isRecordAlreadyExistsException(e))
           {
              throw new RecordAlreadyExistsException("Record already exists, propertyId=" + propertyId + " orderNum="
                 + orderNum + ". Error: " + e, e);
           }
  
           throw new VCASException("VCAS ADD database error: " + e, e);
        }
     }
docs: {@inheritDoc}