fis-gtm/sr_port/mu_int_reg_ch.c

49 lines
1.1 KiB
C

/****************************************************************
* *
* Copyright 2001, 2008 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 "gdsroot.h"
#include "gtm_facility.h"
#include "fileinfo.h"
#include "gdsbt.h"
#include "gdsfhead.h"
#include "error.h"
#include "util.h"
#ifdef UNIX
#include "ftok_sems.h"
GBLREF gd_region *gv_cur_region;
#endif
GBLREF bool region;
GBLREF uint4 mu_int_errknt;
CONDITION_HANDLER(mu_int_reg_ch)
{
error_def(ERR_TEXT);
error_def(ERR_DBFILERR);
error_def(ERR_ASSERT);
error_def(ERR_GTMASSERT);
error_def(ERR_GTMCHECK);
error_def(ERR_MEMORY);
error_def(ERR_VMSMEMORY);
error_def(ERR_STACKOFLOW);
error_def(ERR_OUTOFSPACE);
START_CH
mu_int_errknt++;
if (DUMPABLE)
NEXTCH;
PRN_ERROR;
UNWIND(NULL,NULL);
}