DBA Data[Home] [Help]

APPS.ENG_CHANGE_LIFECYCLE_UTIL dependencies on ERROR_HANDLER

Line 59: IF ( g_debug_flag AND Error_Handler.Get_Debug = 'Y' ) THEN

55: BEGIN
56:
57:
58: -- Ignore open_debug_session call if package debugging mode is already ON
59: IF ( g_debug_flag AND Error_Handler.Get_Debug = 'Y' ) THEN
60: RETURN ;
61: END IF ;
62:
63: l_found := 0 ;

Line 64: Error_Handler.initialize();

60: RETURN ;
61: END IF ;
62:
63: l_found := 0 ;
64: Error_Handler.initialize();
65: Error_Handler.set_bo_identifier(G_BO_IDENTIFIER);
66:
67: ---------------------------------------------------------------------------------
68: -- Open_Debug_Session should set the value

Line 65: Error_Handler.set_bo_identifier(G_BO_IDENTIFIER);

61: END IF ;
62:
63: l_found := 0 ;
64: Error_Handler.initialize();
65: Error_Handler.set_bo_identifier(G_BO_IDENTIFIER);
66:
67: ---------------------------------------------------------------------------------
68: -- Open_Debug_Session should set the value
69: -- appropriately, so that when the Debug Session is successfully opened :

Line 70: -- will return Error_Handler.Get_Debug = 'Y', else Error_Handler.Get_Debug = 'N'

66:
67: ---------------------------------------------------------------------------------
68: -- Open_Debug_Session should set the value
69: -- appropriately, so that when the Debug Session is successfully opened :
70: -- will return Error_Handler.Get_Debug = 'Y', else Error_Handler.Get_Debug = 'N'
71: ---------------------------------------------------------------------------------
72:
73: IF p_output_dir IS NOT NULL THEN
74: g_output_dir := p_output_dir ;

Line 116: -- This sets Debug value so that Error_Handler.Get_Debug returns 'Y' --

112: END IF ;
113:
114: -----------------------------------------------------------------------
115: -- To open the Debug Session to write the Debug Log. --
116: -- This sets Debug value so that Error_Handler.Get_Debug returns 'Y' --
117: -----------------------------------------------------------------------
118: Error_Handler.Open_Debug_Session(
119: p_debug_filename => g_debug_filename
120: ,p_output_dir => g_output_dir

Line 118: Error_Handler.Open_Debug_Session(

114: -----------------------------------------------------------------------
115: -- To open the Debug Session to write the Debug Log. --
116: -- This sets Debug value so that Error_Handler.Get_Debug returns 'Y' --
117: -----------------------------------------------------------------------
118: Error_Handler.Open_Debug_Session(
119: p_debug_filename => g_debug_filename
120: ,p_output_dir => g_output_dir
121: ,x_return_status => l_log_return_status
122: ,x_error_mesg => l_errbuff

Line 173: -- Opens Error_Handler debug session, only if Debug session is not already open.

169: OR FND_API.to_Boolean(p_debug_flag)
170: THEN
171:
172: ----------------------------------------------------------------------------------
173: -- Opens Error_Handler debug session, only if Debug session is not already open.
174: -- Suggested by RFAROOK, so that multiple debug sessions are not open PER
175: -- Concurrent Request.
176: ----------------------------------------------------------------------------------
177: IF (Error_Handler.Get_Debug <> 'Y') THEN

Line 177: IF (Error_Handler.Get_Debug <> 'Y') THEN

173: -- Opens Error_Handler debug session, only if Debug session is not already open.
174: -- Suggested by RFAROOK, so that multiple debug sessions are not open PER
175: -- Concurrent Request.
176: ----------------------------------------------------------------------------------
177: IF (Error_Handler.Get_Debug <> 'Y') THEN
178:
179: FND_FILE.put_line(FND_FILE.LOG, G_PKG_NAME || ' Error_Handler.Get_Debug is not Y, calling Open_Debug_Session ');
180: Open_Debug_Session(p_output_dir => p_output_dir, p_file_name => p_file_name) ;
181: END IF;

Line 179: FND_FILE.put_line(FND_FILE.LOG, G_PKG_NAME || ' Error_Handler.Get_Debug is not Y, calling Open_Debug_Session ');

175: -- Concurrent Request.
176: ----------------------------------------------------------------------------------
177: IF (Error_Handler.Get_Debug <> 'Y') THEN
178:
179: FND_FILE.put_line(FND_FILE.LOG, G_PKG_NAME || ' Error_Handler.Get_Debug is not Y, calling Open_Debug_Session ');
180: Open_Debug_Session(p_output_dir => p_output_dir, p_file_name => p_file_name) ;
181: END IF;
182:
183: END IF;

Line 198: -- Close Error_Handler debug session, only if Debug session is already open.

194: IS
195: BEGIN
196:
197: -----------------------------------------------------------------------------
198: -- Close Error_Handler debug session, only if Debug session is already open.
199: -----------------------------------------------------------------------------
200: IF (Error_Handler.Get_Debug = 'Y') THEN
201:
202: FND_FILE.put_line(FND_FILE.LOG, G_PKG_NAME || ' Error_Handler.Get_Debug is not Y, calling Close_Debug_Session ');

Line 200: IF (Error_Handler.Get_Debug = 'Y') THEN

196:
197: -----------------------------------------------------------------------------
198: -- Close Error_Handler debug session, only if Debug session is already open.
199: -----------------------------------------------------------------------------
200: IF (Error_Handler.Get_Debug = 'Y') THEN
201:
202: FND_FILE.put_line(FND_FILE.LOG, G_PKG_NAME || ' Error_Handler.Get_Debug is not Y, calling Close_Debug_Session ');
203: Error_Handler.Close_Debug_Session;
204:

Line 202: FND_FILE.put_line(FND_FILE.LOG, G_PKG_NAME || ' Error_Handler.Get_Debug is not Y, calling Close_Debug_Session ');

198: -- Close Error_Handler debug session, only if Debug session is already open.
199: -----------------------------------------------------------------------------
200: IF (Error_Handler.Get_Debug = 'Y') THEN
201:
202: FND_FILE.put_line(FND_FILE.LOG, G_PKG_NAME || ' Error_Handler.Get_Debug is not Y, calling Close_Debug_Session ');
203: Error_Handler.Close_Debug_Session;
204:
205: END IF;
206:

Line 203: Error_Handler.Close_Debug_Session;

199: -----------------------------------------------------------------------------
200: IF (Error_Handler.Get_Debug = 'Y') THEN
201:
202: FND_FILE.put_line(FND_FILE.LOG, G_PKG_NAME || ' Error_Handler.Get_Debug is not Y, calling Close_Debug_Session ');
203: Error_Handler.Close_Debug_Session;
204:
205: END IF;
206:
207: g_debug_flag := FALSE;

Line 222: -- Sometimes Error_Handler.Write_Debug would not write

218: PROCEDURE Write_Debug
219: ( p_debug_message IN VARCHAR2 )
220: IS
221: BEGIN
222: -- Sometimes Error_Handler.Write_Debug would not write
223: -- the debug message properly
224: -- So as workaround, I added special developer debug mode here
225: -- to write debug message forcedly
226: IF (TO_NUMBER(g_profile_debug_level) = 999)

Line 236: Error_Handler.Write_Debug('['||TO_CHAR(SYSDATE,'DD-MON-YYYY HH24:MI:SS')||'] '|| p_debug_message);

232: );
233:
234: END IF ;
235:
236: Error_Handler.Write_Debug('['||TO_CHAR(SYSDATE,'DD-MON-YYYY HH24:MI:SS')||'] '|| p_debug_message);
237:
238: EXCEPTION
239: WHEN OTHERS THEN
240: g_debug_errmesg := Substr(To_Char(SQLCODE)||'/'||SQLERRM,1,240);

Line 7724: l_Mesg_Token_Tbl Error_Handler.Mesg_Token_Tbl_Type ;

7720: ORDER BY SEQUENCE_NUMBER ASC ;
7721:
7722: l_return_status VARCHAR2(1);
7723: l_err_text VARCHAR2(2000) ;
7724: l_Mesg_Token_Tbl Error_Handler.Mesg_Token_Tbl_Type ;
7725:
7726:
7727: BEGIN
7728: