Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #25539 > unrolled thread
| Started by | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| First post | 2011-01-30 20:45 -0500 |
| Last post | 2011-02-01 10:37 +1100 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.java.programmer
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Closing a stream in an applet causes a crash Arne Vajhøj <arne@vajhoej.dk> - 2011-01-30 20:45 -0500
Re: Closing a stream in an applet causes a crash Esmond Pitt <esmond.pitt@bigpond.com> - 2011-02-01 10:37 +1100
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2011-01-30 20:45 -0500 |
| Subject | Re: Closing a stream in an applet causes a crash |
| Message-ID | <4d46143f$0$23751$14726298@news.sunsite.dk> |
On 30-01-2011 19:58, Esmond Pitt wrote: > On 31/01/2011 11:04 AM, Sam Takoy wrote: >> And everything works perfectly in terms of opening the stream and >> reading from it, until I attempt is.close() - then I get the >> >> java.io.IOException: stream is closed >> >> exception. > > That exception means you have already closed the stream or the > connection yourself. Somewhere in the part starting /////. That is specific for net? A file does not throw an exception in that case. Arne
[toc] | [next] | [standalone]
| From | Esmond Pitt <esmond.pitt@bigpond.com> |
|---|---|
| Date | 2011-02-01 10:37 +1100 |
| Message-ID | <4d4747d2$0$10579$c30e37c6@exi-reader.telstra.net> |
| In reply to | #25539 |
On 31/01/2011 12:45 PM, Arne Vajhøj wrote: > That is specific for net? I think it's specific for URLConnection streams actually. Most closes are idempotent in the JDK.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web