StorageSyncApiErrorException Class

public final class StorageSyncApiErrorException
extends ManagementException

Exception thrown for an invalid response with StorageSyncApiError information.

Constructor Summary

Constructor Description
StorageSyncApiErrorException(String message, HttpResponse response)

Initializes a new instance of the StorageSyncApiErrorException class.

StorageSyncApiErrorException(String message, HttpResponse response, StorageSyncApiError value)

Initializes a new instance of the StorageSyncApiErrorException class.

Method Summary

Modifier and Type Method and Description
StorageSyncApiError getValue()

Methods inherited from HttpResponseException

Methods inherited from ManagementException

Methods inherited from java.lang.Object

Methods inherited from java.lang.Throwable

Constructor Details

StorageSyncApiErrorException

public StorageSyncApiErrorException(String message, HttpResponse response)

Initializes a new instance of the StorageSyncApiErrorException class.

Parameters:

message - the exception message or the response content if a message is not available.
response - the HTTP response.

StorageSyncApiErrorException

public StorageSyncApiErrorException(String message, HttpResponse response, StorageSyncApiError value)

Initializes a new instance of the StorageSyncApiErrorException class.

Parameters:

message - the exception message or the response content if a message is not available.
response - the HTTP response.
value - the deserialized response value.

Method Details

getValue

public StorageSyncApiError getValue()

Overrides:

StorageSyncApiErrorException.getValue()

Applies to