Thanks for the response guys. What I need is some kind of flag that will distinguish whether the exception caught was an error or a warning (if warning do throw exceptions). The objective is to log such messages in a file and have a monitoring service grep the log file and send appropriate alerts based on the type of messages, e.g. for a warning - notify Glenn Homza and for an error notify Jason Birnbaum.
Saurabh - as for giving an example is concerned… I do not even know what kind of errors and/or warnings may come up, because I’m talking about system exceptions not the application errors and warnings, where it is in my hand to define whether an exception is just a warning or an error.
I was hoping that there would be some pipeline variable, that would classify the exception as ‘Warning’ or an ‘Error’. I checked all the variables in the lastError that gets populated in case of service exception, but there is no such field
Ray - the guide is helpful when we are doing the troubleshooting. For now, I just want to log the errors and leave the troubleshooting to the support guys, who can use this guide for help. I did browse thru the guide and I hope I have not missed out something in there that will also help me identify an exception as a warning.
Thanks
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB