File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Broken pipe IOException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Broken pipe IOException" Watch "Broken pipe IOException" New topic

Broken pipe IOException

Peter Phung
Ranch Hand

Joined: Dec 06, 2001
Posts: 138
Can anyone tell me what causes a Broken pipe Exception to be thrown?

Pete<br />"Reality is an illusion <br />brought on by a lack of <br />drink, drugs and smut"
Steve Deadsea
Ranch Hand

Joined: Dec 03, 2001
Posts: 125
My guess is that its either not a standard java class or not a BrokenPipeException. I'm guessing that you see an exception with a message of "Broken Pipe".
My guess would be that piped streams are being used (PipedReader, PipedWriter, PipedInputStream, or PipedOutputStream) but not being connected first.
I agree. Here's the link:
subject: Broken pipe IOException
It's not a secret anymore!