Hi ,
I am checking one input as (00) than okay otherwise through exception using below UDF
public String check code (String var1, Container container) throw StreamTransformationException{
if (var1 != 00)
{
throw new RuntimeException("mapping fail");
}
else
{
return var1;
}
}
Regards