diff options
author | 2017-04-12 15:26:18 +0000 | |
---|---|---|
committer | 2017-04-12 15:26:52 +0000 | |
commit | b6ed3bfa8f64a4850392f47daf46846fec51e36d (patch) | |
tree | 1da1edac50c5e0ebd06d7c2cc41bdfc964ff4937 /sli/common | |
parent | 028b30e6a8391077ed836a380e41e26991c3981d (diff) |
[SDNGC-5] summary
expanded catch block in fech() to handle SQLException separately from other exceptions
Change-Id: I9f9d52b088323df3d73ba172f6f88d2ef927abb8
Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
Diffstat (limited to 'sli/common')
-rwxr-xr-x[-rw-r--r--] | sli/common/src/main/java/org/openecomp/sdnc/sli/SvcLogicDblibStore.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sli/common/src/main/java/org/openecomp/sdnc/sli/SvcLogicDblibStore.java b/sli/common/src/main/java/org/openecomp/sdnc/sli/SvcLogicDblibStore.java index db8ef15..e3bd099 100644..100755 --- a/sli/common/src/main/java/org/openecomp/sdnc/sli/SvcLogicDblibStore.java +++ b/sli/common/src/main/java/org/openecomp/sdnc/sli/SvcLogicDblibStore.java @@ -189,8 +189,10 @@ public class SvcLogicDblibStore implements SvcLogicStore { } else { return (null); } - } catch (Exception e) { + } catch (SQLException e) { throw new ConfigurationException("SQL query failed", e); + } catch (Exception e) { + throw new ConfigurationException("Graph processing failed", e); } finally { if (results != null) { try { |