Skip to content

Commit 79d60c2

Browse files
Merge pull request #159 from microsoftgraph/getResponseMessage-fix
Function to access response message
2 parents eda87c3 + 4c0b4ba commit 79d60c2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/main/java/com/microsoft/graph/http/GraphServiceException.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,15 @@ protected GraphServiceException(final String method,
147147
this.error = error;
148148
this.verbose = verbose;
149149
}
150+
151+
/**
152+
* Gets the The HTTP response message
153+
*
154+
* @return The HTTP response message
155+
*/
156+
public String getResponseMessage() {
157+
return responseMessage;
158+
}
150159

151160
@Override
152161
public String getMessage() {

0 commit comments

Comments
 (0)