美文网首页
RuntimeException can't be throws

RuntimeException can't be throws

作者: 泓礼 | 来源:发表于2018-11-21 14:42 被阅读0次

    When I test in IntVectorReaderTest, I declared the method as this 

    public void testReadWithWriterOpen() throws Exception {

    And one line code in this method has RuntimeException, but this test is blocked/hang forever, maybe I have some wrong setting, maybe this is the junits' fault.

    相关文章

      网友评论

          本文标题:RuntimeException can't be throws

          本文链接:https://www.haomeiwen.com/subject/sohcqqtx.html