Skip to content
Snippets Groups Projects
Commit 048beba8 authored by tjc's avatar tjc
Browse files

report location if can't connect

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@6977 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent af5e2254
Branches
No related tags found
No related merge requests found
......@@ -2324,6 +2324,7 @@ public class DatabaseDocument extends Document
catch(RuntimeException sqlExp)
{
JOptionPane.showMessageDialog(null, "SQL Problems...\n"+
getLocation()+"\n"+
sqlExp.getMessage(),
"SQL Error",
JOptionPane.ERROR_MESSAGE);
......@@ -2343,6 +2344,7 @@ public class DatabaseDocument extends Document
catch(java.sql.SQLException sqlExp)
{
JOptionPane.showMessageDialog(null, "SQL Problems....\n"+
getLocation()+"\n"+
sqlExp.getMessage(),
"SQL Error",
JOptionPane.ERROR_MESSAGE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment