begin
begin
do something;
exception
when no_data_found then
raise_application_error(-20000,"Message");
end;
exception
when others then
raise_application_error(-20000,"Other message");
end;
My problem is when the compiler catches the "Message" error it alsos catches the "Other message" error. Why does it happen?