Skip to content

Commit 4c0b4ba

Browse files
Added function to access response message.
1 parent eda87c3 commit 4c0b4ba

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)