def __init__(self, record=None):
    if (record is None):
        raise TypeError('Parameter record must not be NoneType')
    if (not isinstance(record, unicode)):
        raise TypeError('Parameter record must be a Unicode string')
    if (len(record) > RECORD_MAX_LEN):
        raise ValueError('Parameter record exceeds maximum record num characters')
    self.record = record
def __init__(self, record=None):
    if (record is None):
        raise TypeError('Parameter record must not be NoneType')
    if (not isinstance(record, unicode)):
        raise TypeError('Parameter record must be a Unicode string')
    if (len(record) > RECORD_MAX_LEN):
        raise ValueError('Parameter record exceeds maximum record num characters')
    self.record = record