def issueJob(self, issuedJob):
        jobCommand = ' '.join((resolveEntryPoint('_toil_worker'), 
                               self.config.jobStore, issuedJob.jobStoreID))
        jobBatchSystemID = self.batchSystem.issueBatchJob(jobCommand, issuedJob.memory, 
                                issuedJob.cores, issuedJob.disk, issuedJob.preemptable)
        self.jobBatchSystemIDToIssuedJob[jobBatchSystemID] = issuedJob
        logger.debug("Issued job with job store ID: %s and job batch system ID: "
                     "%s and cores: %i, disk: %i, and memory: %i",
                     issuedJob.jobStoreID, str(jobBatchSystemID), issuedJob.cores, 
                     issuedJob.disk, issuedJob.memory)
Dynamically create an exception class.
dataset/ETHPy150Open BD2KGenomics/toil/src/toil/batchSystems/jobDispatcher.py/JobDispatcher.issueJob--crossover with--dataset/ETHPy150Open kmike/tornado-slacker/slacker/serialization.py/create_exception_cls