code: public void deleteProperty(String propertyId) throws VCASException
     {
        try
        {
           Connection con = dataSource.getConnection();
           try
           {
              PreparedStatement ps = con.prepareStatement(sqlDeleteRecord);
              ps.setString(1, propertyId);
              int res = ps.executeUpdate();
              ps.close();
  
              if (res <= 0)
              {
                 throw new RecordNotFoundException("Record not found, propertyId=" + propertyId);
              }
           }
           finally
           {
              con.close();
           }
        }
        catch (SQLException e)
        {
           throw new VCASException("VCAS DELETE database error: " + e, e);
        }
     }
docs: {@inheritDoc}