I have a kettle job invocation in java, similar to what's shown below...

Job job = new Job(null,	jobMeta);

if (job.getErrors() > 0) {
	throw new RuntimeException(	"There were errors during transformation execution.");
What I would like is to get the details of any job errors that were encountered during the job invocation. so in above example, lets say job.getErrors() returns 2.
How do I get the details of what those errors are ? I dont want to just enable some logging to see the errors.. I need to be able to access the error details at run time programatically so that further processing for appropriate error handling response can be performed ..

I've been all over this forum and see no examples of how I can get the error details...I would have thought that this would be a pretty common requirement..
any help is appreciated..