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

Is there any problem with this code?

 
D Hagy
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It produce the stopped unexpectedly problem when I push the search button.


 
James Elsey
Ranch Hand
Posts: 228
Android IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does the stack trace say in the console?

Also, if you don't intend to do anything in the finally block, you might aswel remove it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic