现在需要写这样的一个过程,结果返回Y或者N无任何Oracle异常时返回Y有Oracle异常时返回N这个Exception when 怎么写帮帮忙行不?