Code example for SQLException

Methods: printStackTrace

0
						encounterSetFlag);
				ignoredItemMessage = queryUtil.getIgnoredItemMessage();
			} 
 
		} catch (SQLException ex) {
			log.error("Error while building sql", ex);
			throw new I2B2DAOException("Error while building sql ", ex);
		} finally { 
			try { 
				JDBCUtil.closeJdbcResource(null, null, conn);
			} catch (SQLException e) {
				e.printStackTrace();
			} 
		} 
 
		return new String[] { sql, ignoredItemMessage, processTimingMessage };
	} 
 
	 
}