'Show details for a bug referenced by id.'

def _cmd_details(self, params):

    all_edata = self._w3af.exception_handler.get_unique_exceptions()
    if (len(params) != 1):
        om.out.console('The    exception    ID    needs    to    be    specified,    please    read    help:')
        self._cmd_help(['details'])
        return
    elif (not params[0].isdigit()):
        om.out.console('The    exception    ID    needs    to    be    an    integer,    please    read    help:')
        self._cmd_help(['details'])
        return
    elif ((int(params[0]) > (len(all_edata) - 1)) or (int(params[0]) < 0)):
        om.out.console('Invalid    ID    specified,    please    read    help:')
        self._cmd_help(['details'])
        return
    else:
        eid = int(params[0])
        edata = all_edata[eid]
        om.out.console(str(edata))
