def _get_next_object(self, object_class):
try:<EOL><INDENT>next_object = OsidList.next(self)<EOL><DEDENT>except StopIteration:<EOL><INDENT>raise<EOL><DEDENT>except Exception:  <EOL><INDENT>raise OperationFailed()<EOL><DEDENT>if isinstance(next_object, dict):<EOL><INDENT>next_object = object_class(next_object)<EOL><DEDENT>return next_object<EOL>
stub