100: --
101: -- When in validation only mode raise the Validate_Enabled exception
102: --
103: if p_validate then
104: raise hr_api.validate_enabled;
105: end if;
106: --
107: hr_utility.set_location(' Leaving:'|| l_proc, 70);
108: exception
105: end if;
106: --
107: hr_utility.set_location(' Leaving:'|| l_proc, 70);
108: exception
109: when hr_api.validate_enabled then
110: --
111: -- As the Validate_Enabled exception has been raised
112: -- we must rollback to the savepoint
113: --