plsql与.net异常处理

plsql与.net异常处理~


 procedure XX_PP() is

begin

   ...

exception

  when e_error then

    raise_application_error(-20001, "e_error exception: " || sqlerrm);

end;

 


try

{

  ...

 }

catch(exception e)

{

  Respone.Write(e.message);

}

posted @ 2011-08-19 13:54  郭振斌  阅读(215)  评论(0编辑  收藏  举报