'Throw up if the line is longer than 1022 characters'

def sendLine(self, line):

    if (len(line) > (self.MAX_LENGTH - 2)):
        raise ValueError('DictClient    tried    to    send    a    too    long    line')
    basic.LineReceiver.sendLine(self, line)
