added columnIndex to cursor that'll throw exception on error in stead of returning -1