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

What is Broker Data Types?

1 Answers   TCS,


How to open a session on a different server?

1 Answers  


What Is the Pipeline Editor?

3 Answers  


post me important interview question on webmethods

0 Answers  


what is meant by "Block time out" and "Expire time out " in jdbc adapter configuration

1 Answers   Colt, Satyam,






what is difference between groups and ACL groups

1 Answers   TCS,


In webMethods Integration Platform, where is the lock information stored (such as names of elements that are locked, when they were locked, etc.)?

2 Answers  


How to convert document list to document? If document list contain documents and documents contain strings field. How to convert?

0 Answers  


What is the difference between a system locked element and a read-only element?

3 Answers  


Can u please tell me abt WebMethods in brief

3 Answers  


When to Unlock an Element?

3 Answers  


what is the difference between a loop and a repeat?

5 Answers   FCS, TCS,


Categories