Hi Thanks for you quick reply.
The event I want to log is from a flow service I am writing. I am using a previously written java service that list files from a specified directory. When the file or directory being searched for cannot be found the java service creates an error. But I do not and probably not allowed to modify this existing list files java code to perform another action. So I would like to pick up the exception generated by not being able to find the directory/file and write this error to the webMethods error or server logs.
Hope this is all not too confusing.
The java service uses the java API “File(filePath)”, when the file/directory is not found it throws an exception, which I am trying to capture in webMethods flow code and write this error in the webMethods server and error logs.
Thanks in advance for your reply.