Core dump due to identifiers "TRY, CATCH, RAISE, ENDTRY, FINALLY, CATCH_ALL" in HP-UX 11V2 (58 Views)
Reply
Frequent Advisor
sathis kumar
Posts: 56
Registered: ‎08-21-2006
Message 1 of 1 (58 Views)

Core dump due to identifiers "TRY, CATCH, RAISE, ENDTRY, FINALLY, CATCH_ALL" in HP-UX 11V2

Hello,

We are working on migrating our application from HP-UX 11i to HP-UX 11v2.

We were using the identifiers "TRY, CATCH, RAISE, ENDTRY, FINALLY, CATCH_ALL" to build our executable in 11i version.
In 11V2, though we are able to build the executable, it throws core dump while running our application. While debugging,
we found that it throws error when the code flow reach calling "TRY, CATCH, RAISE, ENDTRY, FINALLY, CATCH_ALL". Could you
please let us know the way to handle this?

E.g:

if (status)
{
RAISE(genericServerInitialize_ex);
}
CATCH(genericServerInitialize_ex)
serverJournalDceErrorReport(status, "Error from DCE_server", errstat);
RERAISE;
......
.....
.....


CATCH(genericServerInitialize_ex)
TRACE1("[%s] -SB TMP Exception = |\n", functionName);
serverJournalDceErrorReport(status, "Error from venus_DCE_server", errstat);
RERAISE;

ENDTRY



Thanks in advance for your help,
Sathish
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation