on 02-26-2007 11:13 PM
I have a global variable that collects various errors from my message map. So once the map is finished running I have a list of several errors in this global variable. What is the best method of raising an exception so the transformation fails but still outputs the errors stored in the variable.
Hi,
If u are XI 3.0 SP14 and above use Clean up section of Global Java Sections. The code written there will get executed immaterial of whether ur mapping succeeds or fails. Write ur error throwing logic in that clean up section.
Try it out.
Regards,
Sudharshan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.