Welcome to the Ranch
Please have a look in the
Java™ Tutorials about exceptions. If you can write a
try‑catch, you should know enough to be able to go through all the methods of
the Exception class and find which is most suitable for this situation. Dave's suggestions sounds good.
Are you quite sure that is the correct path to your database?
Always use the
code button; since you are new I have edited your post with it, and doesn't it look better
I also removed excess blank lines, which do nothing for legibility. I presume “banala” isn't a “real” password.