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