163: EXCEPTION
164: when v_ex_error_plan_launch then
165: retcode := 2;
166: if v_lookup_name is not null then
167: fnd_message.set_name('MST',v_lookup_name);
168: fnd_message.set_token('PLAN_NAME',v_rec_c1.compile_designator);
169: errbuf := fnd_message.get;
170: end if;
171: when OTHERS THEN
164: when v_ex_error_plan_launch then
165: retcode := 2;
166: if v_lookup_name is not null then
167: fnd_message.set_name('MST',v_lookup_name);
168: fnd_message.set_token('PLAN_NAME',v_rec_c1.compile_designator);
169: errbuf := fnd_message.get;
170: end if;
171: when OTHERS THEN
172: retcode := 2;
165: retcode := 2;
166: if v_lookup_name is not null then
167: fnd_message.set_name('MST',v_lookup_name);
168: fnd_message.set_token('PLAN_NAME',v_rec_c1.compile_designator);
169: errbuf := fnd_message.get;
170: end if;
171: when OTHERS THEN
172: retcode := 2;
173: errbuf := sqlerrm;