112: --
113: --
114: hr_utility.set_location(' Leaving:'||l_proc, 10);
115: Exception
116: When hr_api.check_integrity_violated Then
117: -- A check constraint has been violated
118: --
119: ota_cus_shd.constraint_error
120: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
116: When hr_api.check_integrity_violated Then
117: -- A check constraint has been violated
118: --
119: ota_cus_shd.constraint_error
120: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
121: When hr_api.parent_integrity_violated Then
122: -- Parent integrity has been violated
123: --
124: ota_cus_shd.constraint_error
117: -- A check constraint has been violated
118: --
119: ota_cus_shd.constraint_error
120: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
121: When hr_api.parent_integrity_violated Then
122: -- Parent integrity has been violated
123: --
124: ota_cus_shd.constraint_error
125: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
121: When hr_api.parent_integrity_violated Then
122: -- Parent integrity has been violated
123: --
124: ota_cus_shd.constraint_error
125: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
126: When hr_api.unique_integrity_violated Then
127: -- Unique integrity has been violated
128: --
129: ota_cus_shd.constraint_error
122: -- Parent integrity has been violated
123: --
124: ota_cus_shd.constraint_error
125: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
126: When hr_api.unique_integrity_violated Then
127: -- Unique integrity has been violated
128: --
129: ota_cus_shd.constraint_error
130: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
126: When hr_api.unique_integrity_violated Then
127: -- Unique integrity has been violated
128: --
129: ota_cus_shd.constraint_error
130: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
131: When Others Then
132: --
133: Raise;
134: End insert_dml;
297: );
298: --
299: exception
300: --
301: when hr_api.cannot_find_prog_unit then
302: --
303: hr_api.cannot_find_prog_unit_error
304: (p_module_name => 'OTA_CHAT_USERS'
305: ,p_hook_type => 'AI');
299: exception
300: --
301: when hr_api.cannot_find_prog_unit then
302: --
303: hr_api.cannot_find_prog_unit_error
304: (p_module_name => 'OTA_CHAT_USERS'
305: ,p_hook_type => 'AI');
306: --
307: end;