211: --
212: --
213: hr_utility.set_location(' Leaving:'||l_proc, 10);
214: Exception
215: When hr_api.check_integrity_violated Then
216: -- A check constraint has been violated
217: --
218: per_pat_shd.constraint_error
219: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
215: When hr_api.check_integrity_violated Then
216: -- A check constraint has been violated
217: --
218: per_pat_shd.constraint_error
219: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
220: When hr_api.parent_integrity_violated Then
221: -- Parent integrity has been violated
222: --
223: per_pat_shd.constraint_error
216: -- A check constraint has been violated
217: --
218: per_pat_shd.constraint_error
219: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
220: When hr_api.parent_integrity_violated Then
221: -- Parent integrity has been violated
222: --
223: per_pat_shd.constraint_error
224: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
220: When hr_api.parent_integrity_violated Then
221: -- Parent integrity has been violated
222: --
223: per_pat_shd.constraint_error
224: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
225: When hr_api.unique_integrity_violated Then
226: -- Unique integrity has been violated
227: --
228: per_pat_shd.constraint_error
221: -- Parent integrity has been violated
222: --
223: per_pat_shd.constraint_error
224: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
225: When hr_api.unique_integrity_violated Then
226: -- Unique integrity has been violated
227: --
228: per_pat_shd.constraint_error
229: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
225: When hr_api.unique_integrity_violated Then
226: -- Unique integrity has been violated
227: --
228: per_pat_shd.constraint_error
229: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
230: When Others Then
231: --
232: Raise;
233: End insert_dml;
488: );
489: --
490: exception
491: --
492: when hr_api.cannot_find_prog_unit then
493: --
494: hr_api.cannot_find_prog_unit_error
495: (p_module_name => 'PER_ALLOCATED_TASKS'
496: ,p_hook_type => 'AI');
490: exception
491: --
492: when hr_api.cannot_find_prog_unit then
493: --
494: hr_api.cannot_find_prog_unit_error
495: (p_module_name => 'PER_ALLOCATED_TASKS'
496: ,p_hook_type => 'AI');
497: --
498: end;