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

how can you find file name in file-pooling concept?

2 Answers  


how can try and catch block can be implemented using web methods developer ? tell the steps to implement it?

3 Answers   Interra IT,


What is the difference between DISABLING a Polling Notification and SUSPENDING a Polling Notification?

1 Answers   Cap Gemini, Satyam,


how many interfaces u implimented sofar ?

1 Answers   Cap Gemini,


What happens to the locks on elements when we upgrade webMethods Integration Platform?

1 Answers  






How ACLs Affect locking?

2 Answers  


When to Lock an Element?

1 Answers  


What Is a Shutdown Service?

2 Answers  


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 webMethods Developer Supports Tables?

1 Answers  


What Is a Package?

2 Answers  


hai this is prasad webmethods is used to integrate the applications but ,we can do that same by using java also ,then why do we use webmethods please send me the answer

2 Answers  


Categories