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 the advantages of eai?

0 Answers  


When we use repeate flow steps?

0 Answers  


What Is a Third-Party Source Control Application?

1 Answers  


How we can catch exception error on run time mode using Flow language in WebMethods??? and how we can send error description as an output parameter????

1 Answers  


what is adictionary

3 Answers  






Difference between Scheduler service and adapter pooling notification?

1 Answers   CSC,


When we use exit flow steps?

1 Answers  


Is Source Control the Same as Locking?

1 Answers  


What Is Dimensionality?

2 Answers  


What Happens When a Client Runs a Service with ACLs?

1 Answers  


What are Structural transformations ?

1 Answers  


what is the difference between lexical ooperators,logical operators?which one is mainly used in filter,broker?why?

2 Answers   Emphasis, HCL, iGate,


Categories