duccOut.info(location, jobid, "user specified handler = "+jdProcessExceptionHandlerClassName);
}
catch (Exception e) {
duccOut.error(location, jobid, e);
duccErr.error(location, jobid, e);
driverStatusReport.setInitializingFailed(new Rationale("job driver exception occurred: "+summarize(e)));
terminate();
throw new JobDriverTerminateException("initialize failed", e);
}
}
else {
duccOut.info(location, jobid, "default handler = "+JdProcessExceptionHandler.class.getName());
}
}
}
catch(JobDriverTerminateException e) {
throw e;
}
catch(Exception e) {
duccOut.error(location, jobid, e);
duccErr.error(location, jobid, e);
driverStatusReport.setInitializingFailed(new Rationale("job driver exception occurred: "+summarize(e)));
terminate();
throw new JobDriverTerminateException("initialize failed", e);
}
}