posted 12 years ago
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.