explain try and catch block briefly



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

Post New Answer

More WebMethods Interview Questions

i have partner A,and partner B, then i want to send a document to partner B, what are requirements i will provide to partners ?

1 Answers   IBM,


what is the difference between a loop and a repeat?

5 Answers   FCS, TCS,


What Are Transformers?

3 Answers  


Should we archive derived files?

1 Answers  


What Is a Package?

2 Answers  






territories in webmethods

5 Answers   TCS,


how to debug a flowservice in webmethods

1 Answers   Intelligroup,


What Is a Third-Party Source Control Application?

1 Answers  


How to Find Elements in the Navigation Panel?

2 Answers  


what are the new features in 8.0 compared to 7.1?

4 Answers   Satyam,


How You Can Delete Session Logs On IS?

1 Answers  


What Is a Flow Service?

1 Answers  


Categories