Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Broken pipe IOException

 
Peter Phung
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me what causes a Broken pipe Exception to be thrown?
 
Steve Deadsea
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic