题库 软件开发 题目列表 try { //Code } catch(IOException e) { //请填充 } ...
单选题

try { //Code } catch(IOException e) { //请填充 } 再次抛出异常,并将异常进行转换,到上一层处理,并能保证异常信息不丢失( )

A.

throw new UserDefineException(e);

B.

throws new UserDefineException(e);

C.

Throwable se = new UserDefineException(e);throw se;

D.

Throwable se = new UserDefineException();se.setCause(e);throw se;

题目信息
校招真题
-
正确率
0
评论
14
点击