def set_password_ibm(self, password_ibm):
if self.get_mode() == "<STR_LIT>":<EOL><INDENT>self.__password_ibm = password_ibm<EOL><DEDENT>else:<EOL><INDENT>raise Exception(<EOL>"<STR_LIT>".format(self.get_mode()))<EOL><DEDENT>
Parameters
----------
password_ibm : str

Raises
------
Exception
    If mode is not `ibm`