Compartilhar via


TableServiceException Class

public class TableServiceException
extends HttpResponseException

Exception thrown for an invalid response with TableServiceError information.

Constructor Summary

Constructor Description
TableServiceException(String message, HttpResponse response)

Initializes a new instance of the TableServiceException class.

TableServiceException(String message, HttpResponse response, TableServiceError value)

Initializes a new instance of the TableServiceException class.

Method Summary

Modifier and Type Method and Description
TableServiceError getValue()

Methods inherited from HttpResponseException

Methods inherited from java.lang.Object

Methods inherited from java.lang.Throwable

Constructor Details

TableServiceException

public TableServiceException(String message, HttpResponse response)

Initializes a new instance of the TableServiceException class.

Parameters:

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

TableServiceException

public TableServiceException(String message, HttpResponse response, TableServiceError value)

Initializes a new instance of the TableServiceException 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 TableServiceError getValue()

Overrides:

TableServiceException.getValue()

Applies to