public class GraphErrorException
extends com.microsoft.rest.RestException
| Constructor and Description |
|---|
GraphErrorException(String message,
retrofit2.Response<okhttp3.ResponseBody> response)
Initializes a new instance of the GraphErrorException class.
|
GraphErrorException(String message,
retrofit2.Response<okhttp3.ResponseBody> response,
GraphError body)
Initializes a new instance of the GraphErrorException class.
|
| Modifier and Type | Method and Description |
|---|---|
GraphError |
body() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic GraphErrorException(String message, retrofit2.Response<okhttp3.ResponseBody> response)
message - the exception message or the response content if a message is not availableresponse - the HTTP responsepublic GraphErrorException(String message, retrofit2.Response<okhttp3.ResponseBody> response, GraphError body)
message - the exception message or the response content if a message is not availableresponse - the HTTP responsebody - the deserialized response bodypublic GraphError body()
body in class com.microsoft.rest.RestException/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/