def set_exh_obj(obj):
if not isinstance(obj, ExHandle):<EOL><INDENT>raise RuntimeError("<STR_LIT>")<EOL><DEDENT>setattr(__builtin__, "<STR_LIT>", obj)<EOL>
r"""
    Set the global exception handler.

    :param obj: Exception handler
    :type  obj: :py:class:`pexdoc.ExHandle`

    :raises: RuntimeError (Argument \\`obj\\` is not valid)