129: if g_debug then
130: hr_utility.set_location(' Leaving:'||l_proc, 10);
131: end if;
132: Exception
133: When hr_api.check_integrity_violated Then
134: -- A check constraint has been violated
135: --
136: hxc_lkr_shd.constraint_error
137: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
133: When hr_api.check_integrity_violated Then
134: -- A check constraint has been violated
135: --
136: hxc_lkr_shd.constraint_error
137: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
138: When hr_api.parent_integrity_violated Then
139: -- Parent integrity has been violated
140: --
141: hxc_lkr_shd.constraint_error
134: -- A check constraint has been violated
135: --
136: hxc_lkr_shd.constraint_error
137: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
138: When hr_api.parent_integrity_violated Then
139: -- Parent integrity has been violated
140: --
141: hxc_lkr_shd.constraint_error
142: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
138: When hr_api.parent_integrity_violated Then
139: -- Parent integrity has been violated
140: --
141: hxc_lkr_shd.constraint_error
142: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
143: When hr_api.unique_integrity_violated Then
144: -- Unique integrity has been violated
145: --
146: hxc_lkr_shd.constraint_error
139: -- Parent integrity has been violated
140: --
141: hxc_lkr_shd.constraint_error
142: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
143: When hr_api.unique_integrity_violated Then
144: -- Unique integrity has been violated
145: --
146: hxc_lkr_shd.constraint_error
147: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
143: When hr_api.unique_integrity_violated Then
144: -- Unique integrity has been violated
145: --
146: hxc_lkr_shd.constraint_error
147: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
148: When Others Then
149: --
150: Raise;
151: End insert_dml;
317:
318: --
319: exception
320: --
321: when hr_api.cannot_find_prog_unit then
322: --
323: hr_api.cannot_find_prog_unit_error
324: (p_module_name => 'HXC_LOCKING_RULES'
325: ,p_hook_type => 'AI');
319: exception
320: --
321: when hr_api.cannot_find_prog_unit then
322: --
323: hr_api.cannot_find_prog_unit_error
324: (p_module_name => 'HXC_LOCKING_RULES'
325: ,p_hook_type => 'AI');
326: --
327: end;