KeyVaultErrorException 构造函数

定义

重载

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

Initializes a new instance of the KeyVaultErrorException class.

KeyVaultErrorException(final String message, final Response<ResponseBody> response, final KeyVaultError body)

Initializes a new instance of the KeyVaultErrorException class.

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

Initializes a new instance of the KeyVaultErrorException class.

public KeyVaultErrorException(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

KeyVaultErrorException(final String message, final Response<ResponseBody> response, final KeyVaultError body)

Initializes a new instance of the KeyVaultErrorException class.

public KeyVaultErrorException(final String message, final Response<ResponseBody> response, final KeyVaultError 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 KeyVaultError

the deserialized response body

适用于