152: --
153: --
154: hr_utility.set_location(' Leaving:'||l_proc, 10);
155: Exception
156: When hr_api.check_integrity_violated Then
157: -- A check constraint has been violated
158: --
159: ghr_caa_shd.constraint_error
160: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
156: When hr_api.check_integrity_violated Then
157: -- A check constraint has been violated
158: --
159: ghr_caa_shd.constraint_error
160: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
161: When hr_api.parent_integrity_violated Then
162: -- Parent integrity has been violated
163: --
164: ghr_caa_shd.constraint_error
157: -- A check constraint has been violated
158: --
159: ghr_caa_shd.constraint_error
160: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
161: When hr_api.parent_integrity_violated Then
162: -- Parent integrity has been violated
163: --
164: ghr_caa_shd.constraint_error
165: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
161: When hr_api.parent_integrity_violated Then
162: -- Parent integrity has been violated
163: --
164: ghr_caa_shd.constraint_error
165: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
166: When hr_api.unique_integrity_violated Then
167: -- Unique integrity has been violated
168: --
169: ghr_caa_shd.constraint_error
162: -- Parent integrity has been violated
163: --
164: ghr_caa_shd.constraint_error
165: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
166: When hr_api.unique_integrity_violated Then
167: -- Unique integrity has been violated
168: --
169: ghr_caa_shd.constraint_error
170: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
166: When hr_api.unique_integrity_violated Then
167: -- Unique integrity has been violated
168: --
169: ghr_caa_shd.constraint_error
170: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
171: When Others Then
172: --
173: Raise;
174: End insert_dml;
343: );
344: --
345: exception
346: --
347: when hr_api.cannot_find_prog_unit then
348: --
349: hr_api.cannot_find_prog_unit_error
350: (p_module_name => 'GHR_COMPL_AGENCY_APPEALS'
351: ,p_hook_type => 'AI');
345: exception
346: --
347: when hr_api.cannot_find_prog_unit then
348: --
349: hr_api.cannot_find_prog_unit_error
350: (p_module_name => 'GHR_COMPL_AGENCY_APPEALS'
351: ,p_hook_type => 'AI');
352: --
353: end;