Throw an error incorrect objects were passed into the _convertAllObjects() function