self.raiseException reraises the original exception.
the main failure here is due to missing pbs in the pbsjob module. it would be better if the problem form pbs where properly solved.