on 12-20-2012 5:24 PM
Hi,
I'm doing a scene file to soap and i have 2 problems:
pictures attached
thanks.
Hi Mariano,
Try to raise exception from a UDF, that would be better option. Please find the below code:
try{
if(PERFORM the Validation)
throw new RuntimeException(" ");
}catch(Exception e){
thow new StreamTransformationException("Your Excep",e);
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for your reply,
this is the code i have:
public String test(String var1, Container container) throws StreamTransformationException{
if (var1.equals("error") ) {
throw new RuntimeException("DO NUMBER DO NOT SEND INVOICE");
}
else {
return "ok";
}
}
but I have the next problem:
when the channel sender reads a directory, if the first reading errors, the other files not processed, how could process the correct files?
thanks.
if you created in Sync mode then you need to activate logging configuration in SXMB_ADM to see entries in RWB.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.