DBA Data[Home] [Help]

APPS.ERROR_HANDLER dependencies on FND_API

Line 1521: l_error_status := FND_API.G_RET_STS_SUCCESS;

1517: l_error_scope := G_SCOPE_ALL;
1518: ELSIF l_error_status = G_STATUS_WARNING
1519: THEN
1520: l_error_scope := G_SCOPE_RECORD;
1521: l_error_status := FND_API.G_RET_STS_SUCCESS;
1522: Error_Handler.Write_Debug('Status is warning . . .');
1523:
1524: END IF;
1525:

Line 2195: x_return_status := FND_API.G_RET_STS_SUCCESS;

2191: l_found NUMBER := 0;
2192: l_utl_file_dir v$parameter.value%TYPE; --bug 16265816/16449758, fix ora-6502 error
2193: BEGIN
2194:
2195: x_return_status := FND_API.G_RET_STS_SUCCESS;
2196:
2197: IF Error_Handler.Get_Debug <> 'Y'
2198: THEN
2199: /*

Line 2201: x_return_status := FND_API.G_RET_STS_ERROR;

2197: IF Error_Handler.Get_Debug <> 'Y'
2198: THEN
2199: /*
2200: x_error_mesg := 'Debug mode is not set';
2201: x_return_status := FND_API.G_RET_STS_ERROR;
2202: RETURN;
2203: */
2204: -- Issue 3323376. The Get_Debug could be used as an indicator to identify
2205: -- if the debug session is opened or not rather than using it as a prereq setup

Line 2227: x_return_status := FND_API.G_RET_STS_ERROR;

2223: x_error_mesg := 'Debug Session could not be started because the ' ||
2224: ' output directory name is invalid. ' ||
2225: ' Output directory must be one of the directory ' ||
2226: ' value in v$parameter for name = utl_file_dir ';
2227: x_return_status := FND_API.G_RET_STS_ERROR;
2228: Error_Handler.Set_Debug;
2229: RETURN;
2230: END IF;
2231:

Line 2245: x_return_status := FND_API.G_RET_STS_ERROR;

2241:
2242: EXCEPTION
2243: WHEN UTL_FILE.INVALID_PATH THEN
2244: x_error_mesg := 'Error opening Debug file . . . ' || sqlerrm;
2245: x_return_status := FND_API.G_RET_STS_ERROR;
2246: Error_Handler.Set_Debug;
2247: END Open_Debug_Session;
2248:
2249:

Line 2295: x_return_status := FND_API.G_RET_STS_ERROR;

2291: ' If unsure leave out the value and the log will '||
2292: ' be written to /sqlcom/log '
2293: , x_mesg_token_tbl => l_mesg_token_tbl
2294: );
2295: x_return_status := FND_API.G_RET_STS_ERROR;
2296: x_mesg_token_tbl := l_mesg_token_tbl;
2297: RETURN;
2298: END IF;
2299: Error_Handler.Debug_File := utl_file.fopen( p_output_dir

Line 2303: x_return_status := FND_API.G_RET_STS_SUCCESS;

2299: Error_Handler.Debug_File := utl_file.fopen( p_output_dir
2300: , p_debug_filename
2301: , 'w');
2302: end if;
2303: x_return_status := FND_API.G_RET_STS_SUCCESS;
2304:
2305: EXCEPTION
2306: WHEN UTL_FILE.INVALID_PATH THEN
2307: Error_Handler.Add_Error_Token