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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are the new features in 8.0 compared to 7.1?

952


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

2510


What are the advantages of eai?

1060


Where do you implemented pub-sub architecture?

1024


Explain header handlers in web services

2574


Explain about pub-sub architecture?

1020


When we use repeate, exit flow steps?

1007


How we can catch exception error on run time mode using flow language in webmethods?

1136


can we build loop step with in the branch in such a way that the interface is look like that branch sequence: Deposit loop xxxxxx sequence: current loop xxxxxxx sequence: savings loop can we achieve the above senario.

2412


Explain about pub-sub architecture, where do you implemented this?

975


When Should You Use Flow Diagram View?

2571


Explain what is indices in map flow step?

1014


can anyone explain in brief about TN Consloe and Webmethods...? As well as All flow steps in webmethods: Branch Repeat Loop Sequence (explain also Try -Catch block for error Handling)

1875


how to configure sap adapter6.1

2452


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?

1048