exception when others then
    if sqlcode = '04068' then
       dbms_output.put_line('Warning: ORA-' || sqlcode || ': ' || sqlerrm);
    end if;你是不是要这样子啊?