expanded catch block in fech() to handle SQLException separately from other exceptions
Change-Id: I9f9d52b088323df3d73ba172f6f88d2ef927abb8
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
} else {
return (null);
}
} else {
return (null);
}
- } catch (Exception e) {
+ } catch (SQLException e) {
throw new ConfigurationException("SQL query failed", e);
throw new ConfigurationException("SQL query failed", e);
+ } catch (Exception e) {
+ throw new ConfigurationException("Graph processing failed", e);
} finally {
if (results != null) {
try {
} finally {
if (results != null) {
try {