GraphErrorException 构造函数

定义

重载

GraphErrorException(final String message, final Response<ResponseBody> response)

Initializes a new instance of the GraphErrorException class.

GraphErrorException(final String message, final Response<ResponseBody> response, final GraphError body)

Initializes a new instance of the GraphErrorException class.

GraphErrorException(final String message, final Response<ResponseBody> response)

Initializes a new instance of the GraphErrorException class.

public GraphErrorException(final String message, final Response<ResponseBody> response)

参数

message
final String

the exception message or the response content if a message is not available

response
final Response<ResponseBody>

the HTTP response

GraphErrorException(final String message, final Response<ResponseBody> response, final GraphError body)

Initializes a new instance of the GraphErrorException class.

public GraphErrorException(final String message, final Response<ResponseBody> response, final GraphError body)

参数

message
final String

the exception message or the response content if a message is not available

response
final Response<ResponseBody>

the HTTP response

body
final GraphError

the deserialized response body

适用于