Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 a Flow Step?

2 Answers  


when we are using loop and when we use repaet?

1 Answers   Fiserv,


How to Rename and Delete Elements?

2 Answers  


Explain about pub-sub architecture?

0 Answers  


What Is a Regular Expression?

1 Answers   FRB,


Can you spell "Webmethods" properly in the language of your choice?

2 Answers  


How many ways can you invoke a service?

1 Answers  


How many minutes have you spent in your lifetime reading documentation or actually (gasp) working with any webMethods product on a real project?

0 Answers  


what is difference between groups and ACL groups

1 Answers   TCS,


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?

1 Answers  


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?

0 Answers  


What Happens When a Breakpoint is Encountered?

1 Answers  


Categories