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 VARCHAR2(2000);
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 2222: x_return_status := FND_API.G_RET_STS_ERROR;

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

Line 2239: x_return_status := FND_API.G_RET_STS_ERROR;

2235:
2236: EXCEPTION
2237: WHEN UTL_FILE.INVALID_PATH THEN
2238: x_error_mesg := 'Error opening Debug file . . . ' || sqlerrm;
2239: x_return_status := FND_API.G_RET_STS_ERROR;
2240: Error_Handler.Set_Debug;
2241: END Open_Debug_Session;
2242:
2243:

Line 2283: x_return_status := FND_API.G_RET_STS_ERROR;

2279: ' If unsure leave out the value and the log will '||
2280: ' be written to /sqlcom/log '
2281: , x_mesg_token_tbl => l_mesg_token_tbl
2282: );
2283: x_return_status := FND_API.G_RET_STS_ERROR;
2284: x_mesg_token_tbl := l_mesg_token_tbl;
2285: RETURN;
2286: END IF;
2287: Error_Handler.Debug_File := utl_file.fopen( p_output_dir

Line 2291: x_return_status := FND_API.G_RET_STS_SUCCESS;

2287: Error_Handler.Debug_File := utl_file.fopen( p_output_dir
2288: , p_debug_filename
2289: , 'w');
2290: end if;
2291: x_return_status := FND_API.G_RET_STS_SUCCESS;
2292:
2293: EXCEPTION
2294: WHEN UTL_FILE.INVALID_PATH THEN
2295: Error_Handler.Add_Error_Token