'Return the current message.  Raise Error when there is none.'

def getcurrent(self):

    seqs = self.getsequences()
    try:
        return max(seqs['cur'])
    except (ValueError, KeyError):
        raise Error, 'no    cur    message'
