151: --
152: --
153: hr_utility.set_location(' Leaving:'||l_proc, 10);
154: Exception
155: When hr_api.check_integrity_violated Then
156: -- A check constraint has been violated
157: --
158: ota_lci_shd.constraint_error
159: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
155: When hr_api.check_integrity_violated Then
156: -- A check constraint has been violated
157: --
158: ota_lci_shd.constraint_error
159: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
160: When hr_api.parent_integrity_violated Then
161: -- Parent integrity has been violated
162: --
163: ota_lci_shd.constraint_error
156: -- A check constraint has been violated
157: --
158: ota_lci_shd.constraint_error
159: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
160: When hr_api.parent_integrity_violated Then
161: -- Parent integrity has been violated
162: --
163: ota_lci_shd.constraint_error
164: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
160: When hr_api.parent_integrity_violated Then
161: -- Parent integrity has been violated
162: --
163: ota_lci_shd.constraint_error
164: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
165: When hr_api.unique_integrity_violated Then
166: -- Unique integrity has been violated
167: --
168: ota_lci_shd.constraint_error
161: -- Parent integrity has been violated
162: --
163: ota_lci_shd.constraint_error
164: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
165: When hr_api.unique_integrity_violated Then
166: -- Unique integrity has been violated
167: --
168: ota_lci_shd.constraint_error
169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
165: When hr_api.unique_integrity_violated Then
166: -- Unique integrity has been violated
167: --
168: ota_lci_shd.constraint_error
169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
170: When Others Then
171: --
172: Raise;
173: End insert_dml;
385: );
386: --
387: exception
388: --
389: when hr_api.cannot_find_prog_unit then
390: --
391: hr_api.cannot_find_prog_unit_error
392: (p_module_name => 'OTA_LP_CAT_INCLUSIONS'
393: ,p_hook_type => 'AI');
387: exception
388: --
389: when hr_api.cannot_find_prog_unit then
390: --
391: hr_api.cannot_find_prog_unit_error
392: (p_module_name => 'OTA_LP_CAT_INCLUSIONS'
393: ,p_hook_type => 'AI');
394: --
395: end;