AnsweredAssumed Answered

Throwing Customized Error code to Java from pentaho Kettle

Question asked by Kiruthika M on Dec 18, 2018

0down votefavorite


Is it possible to throw some customized error code to java from kettle.


KJB is invoking from java appliaction.

with the help of the below code we are deciding the job got success o r failure.

if(job.getErrors() < 1) { result=XXX;


I supposed to throw some error code like '30' for filename missing ,'45' for input param missing' etc.

How to pass this code to java application from KJB.

Thanks in advance.