on 11-21-2014 11:24 AM
Hi All,
Actually i have used catch action block in SAP MII for catching the exception but whenever exception comes the action block bellow the catch is not getting executed,
I am using SAP MII 14.0 SP5 Patch 5.
I am getting the exception at block"getTagAndWellFromExcelPCOQry_0" as "[ERROR] [getTagAndWellFrom_ExcelPCOQry_0]java.net.ConnectException: Connection refused: connect" so
According to my understanding after catch_1 Assignment_8 and Throw_0 should be executed and then after catch_0 Row_1 should be also executed.
I have attached the debugged transaction so you can see how is the execution flow.
Can you please let me know why its happening like this.
Regards,
Ajit Kumar
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ajit,
The image of the debug run you have pasted does not shows that the error came in the 'getTagAndWellFromExcelPCOQry_0' action block.
When any error occurs in the action block that should come as red in the debug run.
And yes you understanding is correct.
catch_1 Assignment_8 and Throw_0 should be executed and then after catch_0 Row_1 should be also executed.
Regards,
Rohit Negi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ajit,
Check if ThrowOnLinkError and ThrowOnActionError is set to true in your transaction attributes.
Regards,
Swaroop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.