This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java in General and the fly likes closing ObjectOutputStream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "closing ObjectOutputStream" Watch "closing ObjectOutputStream" New topic
Author

closing ObjectOutputStream

Mark Stein
Ranch Hand

Joined: May 20, 2002
Posts: 75
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

Joined: Jan 30, 2002
Posts: 3451
It's in your finally block on the close() calls.


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
 
GeeCON Prague 2014
 
subject: closing ObjectOutputStream