2012-02-05 11:35:58 -05:00
|
|
|
/****************************************************************
|
|
|
|
* *
|
2012-03-24 14:06:46 -04:00
|
|
|
* Copyright 2001, 2011 Fidelity Information Services, Inc *
|
2012-02-05 11:35:58 -05:00
|
|
|
* *
|
|
|
|
* 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"
|
|
|
|
#include "util.h"
|
|
|
|
|
|
|
|
GBLDEF bool mupip_DB_full;
|
|
|
|
GBLREF bool mupip_error_occurred;
|
|
|
|
|
2012-03-24 14:06:46 -04:00
|
|
|
error_def(ERR_ASSERT);
|
|
|
|
error_def(ERR_GBLOFLOW);
|
|
|
|
error_def(ERR_GTMASSERT);
|
|
|
|
error_def(ERR_GTMASSERT2);
|
|
|
|
error_def(ERR_GTMCHECK);
|
|
|
|
error_def(ERR_STACKOFLOW);
|
|
|
|
error_def(ERR_MEMORY);
|
|
|
|
error_def(ERR_VMSMEMORY);
|
|
|
|
|
2012-02-05 11:35:58 -05:00
|
|
|
CONDITION_HANDLER(mupip_load_ch)
|
|
|
|
{
|
|
|
|
START_CH;
|
|
|
|
if (DUMP)
|
|
|
|
{
|
|
|
|
NEXTCH;
|
|
|
|
}
|
|
|
|
if (SIGNAL == (int)ERR_GBLOFLOW)
|
|
|
|
mupip_DB_full = TRUE;
|
|
|
|
PRN_ERROR;
|
|
|
|
if ((SEVERITY != ERROR) && (SEVERITY != SEVERE))
|
|
|
|
{
|
|
|
|
CONTINUE;
|
|
|
|
} else
|
|
|
|
{
|
|
|
|
mupip_error_occurred = TRUE;
|
2012-03-24 14:06:46 -04:00
|
|
|
# ifdef UNIX
|
2012-02-05 11:35:58 -05:00
|
|
|
UNWIND(NULL, NULL);
|
2012-03-24 14:06:46 -04:00
|
|
|
# elif defined(VMS)
|
2012-02-05 11:35:58 -05:00
|
|
|
UNWIND(&mch->CHF_MCH_DEPTH, NULL);
|
2012-03-24 14:06:46 -04:00
|
|
|
# else
|
|
|
|
# error Unsupported platform
|
|
|
|
# endif
|
2012-02-05 11:35:58 -05:00
|
|
|
}
|
|
|
|
}
|