165: print_fcn_label( 'arp_maintain_ps.get_error_message_text()+' );
166:
167: ---
168: l_msg_name := 'AR_INV_ARGS';
169: fnd_message.set_name('AR', l_msg_name);
170: fnd_message.set_token('PROCEDURE','arp_maintain_ps.get_error_message_text()');
171: MSG_INVALID_PARAMETERS := fnd_message.get;
172:
173: -- print
166:
167: ---
168: l_msg_name := 'AR_INV_ARGS';
169: fnd_message.set_name('AR', l_msg_name);
170: fnd_message.set_token('PROCEDURE','arp_maintain_ps.get_error_message_text()');
171: MSG_INVALID_PARAMETERS := fnd_message.get;
172:
173: -- print
174: debug( 'MSG_INVALID_PARAMETERS='||MSG_INVALID_PARAMETERS,
167: ---
168: l_msg_name := 'AR_INV_ARGS';
169: fnd_message.set_name('AR', l_msg_name);
170: fnd_message.set_token('PROCEDURE','arp_maintain_ps.get_error_message_text()');
171: MSG_INVALID_PARAMETERS := fnd_message.get;
172:
173: -- print
174: debug( 'MSG_INVALID_PARAMETERS='||MSG_INVALID_PARAMETERS,
175: MSG_LEVEL_DEBUG );
3481: IF( sqlcode = 1 ) THEN
3482: --
3483: -- User-defined exception
3484: --
3485: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
3486: FND_MESSAGE.set_token( 'GENERIC_TEXT', g_error_buffer );
3487: APP_EXCEPTION.raise_exception;
3488:
3489: ELSE
3482: --
3483: -- User-defined exception
3484: --
3485: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
3486: FND_MESSAGE.set_token( 'GENERIC_TEXT', g_error_buffer );
3487: APP_EXCEPTION.raise_exception;
3488:
3489: ELSE
3490: --