Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java SE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:java.io.IOException: 句柄无效??? [Re:aideliwu]
aideliwu





发贴: 18
积分: 0
于 2004-09-01 21:32 user profilesend a private message to usersend email to aideliwusearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我思考le很久,也查看啦代码很久,可还是百思不得其解,
在Freejava中运行的结果还是:
java.io.IOException: 句柄无效。
  at java.io.FileInputStream.readBytes(Native Method)
  at java.io.FileInputStream.read(FileInputStream.java:191)
  at java.io.BufferedInputStream.read1(BufferedInputStream.java:220)
  at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
  at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:406)
  at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:446)
  at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180)
  at java.io.InputStreamReader.read(InputStreamReader.java:167)
  at java.io.BufferedReader.fill(BufferedReader.java:136)
  at java.io.BufferedReader.readLine(BufferedReader.java:299)
  at java.io.BufferedReader.readLine(BufferedReader.java:362)
  at NumberInput.main(NumberInput.java:9)
Exception in thread "main" Exit code: 1
There were errors

对于我来说,这样de提示问题真de可大le,为什么会句柄无效呢??我只是用啦:
InputStreamReader(System.in);
我访问de资源是什么呢???为什么会无效呢????
at java.io.FileInputStream.read(FileInputStream.java:191)
其中de参数怎么是FileInputStream.java:191呢?? ":191"又是什么呀???
哎~望你能不吝赐教,不厌我烦de给一个迷糊中de菜鸟提示,
再次感谢你,你的帮助会使我在java路上少走好多弯路,剩好多时间de.




话题树型展开
人气 标题 作者 字数 发贴时间
9002 java.io.IOException: 句柄无效??? aideliwu 874 2004-09-01 14:15
7601 Re:java.io.IOException: 句柄无效??? xiaopa 27 2004-09-01 14:34
7447 Re:java.io.IOException: 句柄无效??? 七品县令 5 2004-09-01 17:28
10707 Re:java.io.IOException: 句柄无效??? aideliwu 1162 2004-09-01 21:32
7520 Re:java.io.IOException: 句柄无效??? aideliwu 52 2004-09-02 22:51
7282 Re:java.io.IOException: 句柄无效??? why 12 2004-09-03 03:20
7494 Re:java.io.IOException: 句柄无效??? aideliwu 66 2004-09-03 09:02
7643 Re:java.io.IOException: 句柄无效??? why 218 2004-09-03 09:21
7688 Re:java.io.IOException: 句柄无效??? aideliwu 102 2004-09-03 09:21

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923