docs: def get_next_type(self):
          """Gets the next ``Type`` in this list.
  
          return: (osid.type.Type) - the next ``Type`` in this list. The
                  ``has_next()`` method should be used to test that a next
                  ``Type`` is available before calling this method.
          raise:  IllegalState - no more elements available in this list
          raise:  OperationFailed - unable to complete request
          *compliance: mandatory -- This method must be implemented.*
  
          """
          import sys
          from ..osid.osid_errors import IllegalState, OperationFailed
          try:
              next_item = self.next()
          except StopIteration:
              raise IllegalState('no more elements available in this list')
          except:  # Need to specify exceptions here
              raise OperationFailed()
          else:
              return next_item