Posts an exception's stacktrace string as returned by 'traceback.format_exc()' in an 'except' block.
        :param command: The command object that holds all the necessary information from the remote process.

def throw(self, command):
        """
        Posts an exception's stacktrace string as returned by 'traceback.format_exc()' in an 'except' block.
        :param command: The command object that holds all the necessary information from the remote process.
        """
        exception_message = '[Process {}{}]:\n{}'.format(command.pid, ' - {}'
                                                        .format(command.process_title) if command.process_title else '',
                                                        command.stacktrace)

        message = self.get_format()
        message = message.replace('{L}', 'EXCEPTION')
        message = '{}\t{}\n'.format(message, exception_message)

        self.append_exception(message)

        # Redraw
        self.changes_made = True
        self.redraw()

        self.log.critical('\t{}'.format(exception_message))