explain try and catch block briefly
Answer / prashant.tripathi981
To handle exception/error we use
try and catch block with the use
of sequence.
Remember Exit on
.
.
..........................................
. .
. .
SUCCESS FAILURE
Exit on Success:If there is error in
any subordinate service
it will be run.
Service1
Service2
Service3(here is error)
Service4
Exit on Success will run all 4 services.
Exit on Failure:It will exit on that service
which has any error.
Service1
Service2
Service3(here is error)
Service4
Exit on Failure will run only Service1 and Service2.
Syntax::
Sequence(Main Block)[EXIT ON: SUCCESS]
Sequence(Try Block)[EXIT ON: FAILURE]
Sequence(Catch Block)[EXIT ON: DONE]
| Is This Answer Correct ? | 7 Yes | 5 No |
What Is a Flow Step?
when we are using loop and when we use repaet?
How to Rename and Delete Elements?
Explain about pub-sub architecture?
What Is a Regular Expression?
Can you spell "Webmethods" properly in the language of your choice?
How many ways can you invoke a service?
How many minutes have you spent in your lifetime reading documentation or actually (gasp) working with any webMethods product on a real project?
what is difference between groups and ACL groups
I have a loop a, under which I have a child loop b, under which I have a branch with few services with a condition. If a condition is satisfied , then I needmy branch to exit from loop b, what should I do?
If I have a parent sequence with the property set- exit on success, and the try sequence block set to exit on failure, and the catch sequence block too set to failure, what is the result?
What Happens When a Breakpoint is Encountered?