def get_next_repository(self):
try:<EOL><INDENT>next_object = next(self)<EOL><DEDENT>except StopIteration:<EOL><INDENT>raise IllegalState('<STR_LIT>')<EOL><DEDENT>except Exception:  <EOL><INDENT>raise OperationFailed()<EOL><DEDENT>else:<EOL><INDENT>return next_object<EOL><DEDENT>
Gets the next ``Repository`` in this list.

        :return: the next ``Repository`` in this list. The ``has_next()`` method should be used to test that a next ``Repository`` is available before calling this method.
        :rtype: ``osid.repository.Repository``
        :raise: ``IllegalState`` -- no more elements available in this list
        :raise: ``OperationFailed`` -- unable to complete request

        *compliance: mandatory -- This method must be implemented.*