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

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