@pexdoc.pcontracts.contract(state=int)<EOL><INDENT>@dummy_decorator<EOL>def _setter_func(self, state):<DEDENT>
exobj = (<EOL>pexdoc.exh.get_exh_obj()<EOL>if pexdoc.exh.get_exh_obj()<EOL>else pexdoc.exh.ExHandle()<EOL>)<EOL>exobj.add_exception(<EOL>exname="<STR_LIT>", extype=ValueError, exmsg="<STR_LIT>"<EOL>)<EOL>exobj.add_exception(<EOL>exname="<STR_LIT>", extype=TypeError, exmsg="<STR_LIT>"<EOL>)<EOL>self._state = state<EOL>
Setter method with property defined via property() function.