From 4c0b4ba566b79a878c3770e8ef454a5bf2903b79 Mon Sep 17 00:00:00 2001 From: Nakul Sabharwal Date: Mon, 29 Oct 2018 12:31:14 +0530 Subject: [PATCH] Added function to access response message. --- .../com/microsoft/graph/http/GraphServiceException.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/com/microsoft/graph/http/GraphServiceException.java b/src/main/java/com/microsoft/graph/http/GraphServiceException.java index 7759c194c74..37ec3c6e760 100644 --- a/src/main/java/com/microsoft/graph/http/GraphServiceException.java +++ b/src/main/java/com/microsoft/graph/http/GraphServiceException.java @@ -147,6 +147,15 @@ protected GraphServiceException(final String method, this.error = error; this.verbose = verbose; } + + /** + * Gets the The HTTP response message + * + * @return The HTTP response message + */ + public String getResponseMessage() { + return responseMessage; + } @Override public String getMessage() {