public void testConvertToMetaModelException() throws Exception {
LogManager logManager = LogManager.getLogManager();
File logConfigFile = new File("src/test/resources/logconfig.txt");
assertTrue(logConfigFile.exists());
logManager.readConfiguration(new FileInputStream(logConfigFile));
assertTrue(JdbcUtils.wrapException(new SQLException("msg"), "foo") instanceof MetaModelException);
assertTrue(JdbcUtils.wrapException(
new SQLException("msg", "sql state"), "foo") instanceof MetaModelException);
assertTrue(JdbcUtils.wrapException(new SQLException("msg", "sql state",