Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thowing to many errors

 
ben riches
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
When I run this code and I select a table with an 0 at the beggining it thows a Exception which is fine but when I click into the comboBox where I selected the table it thows the exception again.
Why does it thow the Exception twice and is there a way where I can have it thown only once.
Also is there a way where you can have a diffrent JOption pane (error message) pop up for every diffrent Exception that is thown?


Thanks
ben
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic