diff options
author | Daniel Silverthorn <daniel.silverthorn@amdocs.com> | 2018-03-26 14:27:47 -0400 |
---|---|---|
committer | Daniel Silverthorn <daniel.silverthorn@amdocs.com> | 2018-03-27 13:24:57 -0400 |
commit | 0c19b1386259b7144bc6c95954f965c469835522 (patch) | |
tree | 328756840d468541f0a46c768128b529f9119f03 | |
parent | ff29ea71d508a2a8b20bfe22aeeca5af6a6e94be (diff) |
Pass error message through on vertex add
Change-Id: I55bc4aaa8fdb31900d8a62d846bdd9d70764610c
Issue-ID: AAI-945
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
-rw-r--r-- | pom.xml | 12 | ||||
-rw-r--r-- | src/main/java/org/onap/crud/dao/champ/ChampDao.java | 2 |
2 files changed, 7 insertions, 7 deletions
@@ -101,7 +101,7 @@ limitations under the License. <dependency> <groupId>org.onap.aai.logging-service</groupId> <artifactId>common-logging</artifactId> - <version>1.1.0</version> + <version>1.2.2</version> </dependency> <dependency> <groupId>org.glassfish.jersey.core</groupId> @@ -116,22 +116,22 @@ limitations under the License. <dependency> <groupId>org.onap.aai.event-client</groupId> <artifactId>event-client-dmaap</artifactId> - <version>1.2.0</version> + <version>1.2.1</version> </dependency> <dependency> <groupId>org.onap.aai.aai-common</groupId> <artifactId>aai-schema</artifactId> - <version>1.2.1-SNAPSHOT</version> + <version>1.2.1</version> </dependency> <dependency> <groupId>org.onap.aai.aai-common</groupId> <artifactId>aai-utils</artifactId> - <version>1.2.0</version> + <version>1.2.1</version> </dependency> <dependency> <groupId>org.onap.aai.aai-common</groupId> <artifactId>aai-core</artifactId> - <version>1.2.1-SNAPSHOT</version> + <version>1.2.1</version> <exclusions> <exclusion> <groupId>*</groupId> @@ -143,7 +143,7 @@ limitations under the License. <dependency> <groupId>org.onap.aai.aai-common</groupId> <artifactId>aai-auth</artifactId> - <version>1.2.0</version> + <version>1.2.1</version> </dependency> <dependency> diff --git a/src/main/java/org/onap/crud/dao/champ/ChampDao.java b/src/main/java/org/onap/crud/dao/champ/ChampDao.java index 18d4946..344d797 100644 --- a/src/main/java/org/onap/crud/dao/champ/ChampDao.java +++ b/src/main/java/org/onap/crud/dao/champ/ChampDao.java @@ -260,7 +260,7 @@ public class ChampDao implements GraphDao { } else { // We didn't create a vertex with the supplied type, so just throw an // exception. - throw new CrudException("Failed to create vertex", Response.Status.fromStatusCode(getResult.getResultCode())); + throw new CrudException("Failed to create vertex: " + getResult.getFailureCause(), Response.Status.fromStatusCode(getResult.getResultCode())); } } |