'Sets the value of the object before passing to Asn1Value.__init__()
:param value:
An Asn1Value object that will be set as the parsed value'

def __init__(self, value=None, **kwargs):

    Asn1Value.__init__(self, **kwargs)
    try:
        if (value is not None):
            if (not isinstance(value, Asn1Value)):
                raise TypeError(unwrap(u'\n                                                                                                value    must    be    an    instance    of    Ans1Value,    not    %s\n                                                                                                ', type_name(value)))
            self._parsed = (value, value.__class__, None)
            self.contents = value.dump()
    except (ValueError, TypeError) as e:
        args = e.args[1:]
        e.args = (((e.args[0] + (u'\n                while    constructing    %s' % type_name(self))),) + args)
        raise e
