158: --
159: --
160: hr_utility.set_location(' Leaving:'||l_proc, 10);
161: Exception
162: When hr_api.check_integrity_violated Then
163: -- A check constraint has been violated
164: --
165: pqh_rer_shd.constraint_error
166: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
162: When hr_api.check_integrity_violated Then
163: -- A check constraint has been violated
164: --
165: pqh_rer_shd.constraint_error
166: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
167: When hr_api.parent_integrity_violated Then
168: -- Parent integrity has been violated
169: --
170: pqh_rer_shd.constraint_error
163: -- A check constraint has been violated
164: --
165: pqh_rer_shd.constraint_error
166: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
167: When hr_api.parent_integrity_violated Then
168: -- Parent integrity has been violated
169: --
170: pqh_rer_shd.constraint_error
171: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
167: When hr_api.parent_integrity_violated Then
168: -- Parent integrity has been violated
169: --
170: pqh_rer_shd.constraint_error
171: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
172: When hr_api.unique_integrity_violated Then
173: -- Unique integrity has been violated
174: --
175: pqh_rer_shd.constraint_error
168: -- Parent integrity has been violated
169: --
170: pqh_rer_shd.constraint_error
171: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
172: When hr_api.unique_integrity_violated Then
173: -- Unique integrity has been violated
174: --
175: pqh_rer_shd.constraint_error
176: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
172: When hr_api.unique_integrity_violated Then
173: -- Unique integrity has been violated
174: --
175: pqh_rer_shd.constraint_error
176: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
177: When Others Then
178: --
179: Raise;
180: End insert_dml;
341: );
342: --
343: exception
344: --
345: when hr_api.cannot_find_prog_unit then
346: --
347: hr_api.cannot_find_prog_unit_error
348: (p_module_name => 'PQH_RATE_ELEMENT_RELATIONS'
349: ,p_hook_type => 'AI');
343: exception
344: --
345: when hr_api.cannot_find_prog_unit then
346: --
347: hr_api.cannot_find_prog_unit_error
348: (p_module_name => 'PQH_RATE_ELEMENT_RELATIONS'
349: ,p_hook_type => 'AI');
350: --
351: end;