【发布时间】:2013-10-15 15:47:03
【问题描述】:
我想知道,为什么refill() 在数据块中间发现意外的EOF 时会抛出StreamCorrruptedException? (ObjectInputStream.java:2538)
如果它抛出 EOFException 会更好吗?或者在这种情况下是否有其他理由抛出 StreamCorrruptedException?
【问题讨论】:
标签: java objectinputstream eofexception