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 623: l_message_list Error_Handler.Error_Tbl_Type; --added for bug 10128347

619: l_appl_id NUMBER ;
620:
621:
622: l_doc_lc_object_flag BOOLEAN := FALSE ;
623: l_message_list Error_Handler.Error_Tbl_Type; --added for bug 10128347
624:
625: BEGIN
626: -- Standard Start of API savepoint
627: --SAVEPOINT Update_Header_Appr_Status;

Line 628: Error_Handler.Initialize; --added for bug 10128347

624:
625: BEGIN
626: -- Standard Start of API savepoint
627: --SAVEPOINT Update_Header_Appr_Status;
628: Error_Handler.Initialize; --added for bug 10128347
629: -- Standard call to check for call compatibility
630: IF NOT FND_API.Compatible_API_Call ( l_api_version
631: ,p_api_version
632: ,l_api_name

Line 1153: ERROR_HANDLER.Get_Message_List(l_message_list);

1149: EXCEPTION
1150: WHEN EGO_USER_ATTRS_COMMON_PVT.G_SUBSCRIPTION_EXC then -- bug 10128347, when catch G_SUBSCRIPTION_EXC exception
1151: ROLLBACK WORK;
1152: x_return_status := FND_API.G_RET_STS_ERROR;
1153: ERROR_HANDLER.Get_Message_List(l_message_list);
1154: FOR i IN l_message_list.FIRST..l_message_list.LAST
1155: LOOP
1156: x_msg_data := x_msg_data || l_message_list(i).message_text;
1157: END LOOP;

Line 6700: l_message_list Error_Handler.Error_Tbl_Type; --Bug 11825003

6696: l_next_status eng_lifecycle_statuses.workflow_status%TYPE;
6697: -- bug 9577905, end
6698:
6699: l_pls_block VARCHAR2(5000);
6700: l_message_list Error_Handler.Error_Tbl_Type; --Bug 11825003
6701:
6702: -- for auto-propagation if it's defined for first phase
6703: l_auto_prop_flag eng_type_org_properties.AUTO_PROPAGATE_FLAG%TYPE;
6704: l_change_notice eng_engineering_changes.change_notice%TYPE;

Line 6737: --Error_Handler.Initialize; --Bug 11825003

6733:
6734: BEGIN
6735: -- Standard Start of API savepoint
6736: SAVEPOINT Init_Lifecycle;
6737: --Error_Handler.Initialize; --Bug 11825003
6738: -- Standard call to check for call compatibility
6739: IF NOT FND_API.Compatible_API_Call ( l_api_version
6740: ,p_api_version
6741: ,l_api_name

Line 7109: ERROR_HANDLER.Add_Error_Message(

7105: l_param_list.DELETE;
7106: EXCEPTION
7107: --Added for bug 10128347
7108: WHEN OTHERS THEN
7109: ERROR_HANDLER.Add_Error_Message(
7110: p_message_name => 'EGO_EVENT_SUBSCR'
7111: ,p_application_id => 'EGO'
7112: ,p_message_type => FND_API.G_RET_STS_ERROR
7113: ,p_addto_fnd_stack => 'Y');

Line 7312: ERROR_HANDLER.Get_Message_List(l_message_list);

7308: EXCEPTION
7309: WHEN EGO_USER_ATTRS_COMMON_PVT.G_SUBSCRIPTION_EXC then --Bug 11825003
7310: --ROLLBACK WORK;
7311: x_return_status := FND_API.G_RET_STS_ERROR;
7312: ERROR_HANDLER.Get_Message_List(l_message_list);
7313: FOR i IN l_message_list.FIRST..l_message_list.LAST
7314: LOOP
7315: x_msg_data := x_msg_data || l_message_list(i).message_text;
7316: END LOOP;

Line 8015: l_Mesg_Token_Tbl Error_Handler.Mesg_Token_Tbl_Type ;

8011: ORDER BY SEQUENCE_NUMBER ASC ;
8012:
8013: l_return_status VARCHAR2(1);
8014: l_err_text VARCHAR2(2000) ;
8015: l_Mesg_Token_Tbl Error_Handler.Mesg_Token_Tbl_Type ;
8016:
8017:
8018: BEGIN
8019: