2012-02-05 11:35:58 -05:00
|
|
|
/****************************************************************
|
|
|
|
* *
|
|
|
|
* Copyright 2001, 2011 Fidelity Information Services, Inc *
|
|
|
|
* *
|
|
|
|
* This source code contains the intellectual property *
|
|
|
|
* of its copyright holder(s), and is made available *
|
|
|
|
* under a license. If you do not know the terms of *
|
|
|
|
* the license, please stop and do not read further. *
|
|
|
|
* *
|
|
|
|
****************************************************************/
|
|
|
|
|
|
|
|
#include "mdef.h"
|
|
|
|
|
|
|
|
#include "error.h"
|
|
|
|
|
|
|
|
error_def(ERR_ASSERT);
|
|
|
|
error_def(ERR_GTMASSERT);
|
2012-03-24 14:06:46 -04:00
|
|
|
error_def(ERR_GTMASSERT2);
|
|
|
|
error_def(ERR_GTMCHECK);
|
2012-02-05 11:35:58 -05:00
|
|
|
error_def(ERR_MEMORY);
|
2012-03-24 14:06:46 -04:00
|
|
|
error_def(ERR_OUTOFSPACE);
|
|
|
|
error_def(ERR_STACKOFLOW);
|
2012-02-05 11:35:58 -05:00
|
|
|
error_def(ERR_TPRETRY);
|
|
|
|
error_def(ERR_VMSMEMORY);
|
|
|
|
|
|
|
|
CONDITION_HANDLER(fntext_ch)
|
|
|
|
{
|
|
|
|
START_CH;
|
|
|
|
if (!DUMPABLE && (SIGNAL != ERR_TPRETRY))
|
|
|
|
{
|
|
|
|
UNWIND(NULL, NULL); /* As per the standard, $TEXT returns null string if there are errors while */
|
|
|
|
/* loading/linking with the entryref. So, we ignore non-fatal errors. */
|
|
|
|
} else
|
|
|
|
{
|
|
|
|
NEXTCH; /* But, we don't want to ignore fatal errors as these may be indicative of serious */
|
|
|
|
/* issues that may need investigation. Also, TP restarts need to be handled properly. */
|
|
|
|
}
|
|
|
|
}
|