This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

closing ObjectOutputStream

 
Mark Stein
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It may be because I've been staring at the screen too long, but I keep getting an compiler error telling me I haven't caught an IOException error with the following code:

Anyone see the problem?
Thanks
MS
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's in your finally block on the close() calls.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic