From bb2a3161c12e2f04af11e4c25c679fb08218216d Mon Sep 17 00:00:00 2001 From: mpv1989 Date: Fri, 30 Jun 2017 15:05:46 +0200 Subject: [PATCH] Fix issue #132 --- src/main/java/com/arangodb/ArangoDBException.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/arangodb/ArangoDBException.java b/src/main/java/com/arangodb/ArangoDBException.java index 7c3e02b91..800b2e6eb 100644 --- a/src/main/java/com/arangodb/ArangoDBException.java +++ b/src/main/java/com/arangodb/ArangoDBException.java @@ -53,11 +53,11 @@ public String getException() { return entity != null ? entity.getException() : null; } - public int getResponseCode() { + public Integer getResponseCode() { return entity != null ? entity.getCode() : null; } - public int getErrorNum() { + public Integer getErrorNum() { return entity != null ? entity.getErrorNum() : null; }