SortOrdering ordering = new SortOrdering(getSortColumn(), isDescending());
int i = 0;
while (true)
{
IBookQuery query = getQuery();
if (query == null)
{
query = vengine.createNewQuery();
setQuery(query);
}
try
{
return query.ownerQuery(personId, ordering);
}
catch (RemoteException ex)
{
vengine.rmiFailure("Remote exception for owner query.", ex, i++);