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

add logger

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@5795 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent f392e6fd
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,8 @@ public class SqlMapClientWrapper
{
private SqlMapClient sqlMap;
private static org.apache.log4j.Logger logger4j =
org.apache.log4j.Logger.getLogger(SqlMapClientWrapper.class);
public SqlMapClientWrapper(final JPasswordField pfield)
{
......@@ -70,6 +72,7 @@ public class SqlMapClientWrapper
}
catch(SQLException e)
{
logger4j.error(e.getMessage());
throw new RuntimeException(e);
}
}
......@@ -82,6 +85,7 @@ public class SqlMapClientWrapper
}
catch(SQLException e)
{
logger4j.error(e.getMessage());
throw new RuntimeException(e);
}
}
......@@ -94,6 +98,7 @@ public class SqlMapClientWrapper
}
catch(SQLException e)
{
logger4j.error(e.getMessage());
throw new RuntimeException(e);
}
}
......@@ -106,6 +111,7 @@ public class SqlMapClientWrapper
}
catch(SQLException e)
{
logger4j.error(e.getMessage());
throw new RuntimeException(e);
}
}
......@@ -118,6 +124,7 @@ public class SqlMapClientWrapper
}
catch(SQLException e)
{
logger4j.error(e.getMessage());
throw new RuntimeException(e);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment