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 Are Transformers?

3 Answers  


If i have to move packages from one IS to another, which process would u suggest, is it thru wmDeployer or someother processes like publish/subscribe?

5 Answers   IBM,


when we are using loop and when we use repaet?

1 Answers   Fiserv,


Hi I am using Wenmethods 7.1 since many years. I am on Webmethods project. Today my Boss asked me about CLSRIM (Webmethods service, when one server is down, automatically another will take over. Can you please throw some light on above ? OR from where can I get some help ? IT IS URGENT...... Komalika

4 Answers  


how to get a data from FTP server in webMethods Integration server?

1 Answers   IBM,


What Is Data Validated Against?

1 Answers   CTS,


What Is a Flow Step?

2 Answers  


What Are Input and Output Parameters?

1 Answers  


What Is a Shutdown Service?

2 Answers  


What are Structural transformations ?

1 Answers  


What is the file (.jar) name that sharing between WebMethods integrated with JD Edwards???

1 Answers  


How You Can Delete Session Logs On IS?

1 Answers  


Categories