329: l_exception_id := NULL;
330:
331: IF l_debug_on THEN
332: WSH_DEBUG_SV.logmsg(l_module_name,
333: 'Calling program unit WSH_XC_UTIL.LOG_EXCEPTION',
334: WSH_DEBUG_SV.C_PROC_LEVEL);
335: END IF;
336:
337: WSH_XC_UTIL.log_exception(
333: 'Calling program unit WSH_XC_UTIL.LOG_EXCEPTION',
334: WSH_DEBUG_SV.C_PROC_LEVEL);
335: END IF;
336:
337: WSH_XC_UTIL.log_exception(
338: p_api_version => 1.0,
339: x_return_status => l_return_status,
340: x_msg_count => l_msg_count,
341: x_msg_data => l_msg_data,
349: p_message => SUBSTRB(l_exception_message,1,2000)
350: );
351:
352: IF l_debug_on THEN
353: WSH_DEBUG_SV.logmsg(l_module_name, 'return status from WSH_XC_UTIL.log_exception: ' || l_return_status);
354: END IF;
355:
356: IF l_debug_on THEN
357: wsh_debug_sv.logmsg(l_module_name,