• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CharacterStream file reader and write

 
veena bijur
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I am getting Io error, Where i went wrong? Please help.
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This says, "Ignore the important details about what went wrong. Just print out a vague message and continue on as if everything was fine."


Change your catch blocks to look like this to see more details about what went wrong and where:



That's still not proper exception handling, but at least you'll be able to diagnose your problem.
 
veena bijur
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, now i could figure it out the error. made changes its working now.
 
Tony Docherty
Bartender
Posts: 2971
59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic