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; }