Skip to Content
avatar image
Former Member

Exception handling in MII 14.0.5 Patch 8

Hello,

In MII one of my transaction, i have written a block which catch the exception and have few blocks to be executed. My understanding is, if exception occurs, it should skip all subsequent blocks and end the transaction. But i my case, it is throwing exception and proceeding with execution of other blocks. How can i set the transaction to stop executing other blocks after exception occurs?

-Adarsha.K.S

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 25, 2014 at 06:57 AM

    Hi Adarsha,

    After Catch Action block you will find two types of sequences one getting generated with Red Line and other one with Black Line.

    The Red Line sequences will be executed in the case some exception is catched by the Catch Action block.

    The Black Line Sequences after the Catch Action Block would be executed always.

    In your case put the Catch Action block in the end so that exception is caught but no action blocks are executed after the exception.

    Regards,

    Rohit Negi.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 25, 2014 at 08:21 AM

    Thanks for your response Rohit Negi!!!.  i have fixed my code and it works.

    Add comment
    10|10000 characters needed characters exceeded