summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/dcae/inventory/daos/InventoryDAOManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/dcae/inventory/daos/InventoryDAOManager.java b/src/main/java/org/onap/dcae/inventory/daos/InventoryDAOManager.java
index b5f0b04..717d8c9 100644
--- a/src/main/java/org/onap/dcae/inventory/daos/InventoryDAOManager.java
+++ b/src/main/java/org/onap/dcae/inventory/daos/InventoryDAOManager.java
@@ -131,7 +131,7 @@ public final class InventoryDAOManager {
LOG.info(String.format("Sql view created: %s", viewName));
}
} catch (Exception e) {
- throw new RuntimeException("", e);
+ throw new InventoryDAOManagerSetupException("view does not exist, " + e);
}
// Do this assignment at the end after performing table checks to ensure that connection is good