Package com.azure.data.tables.models
Class TableServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.azure.core.exception.AzureException
com.azure.core.exception.HttpResponseException
com.azure.data.tables.models.TableServiceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TableTransactionFailedException
public class TableServiceException
extends com.azure.core.exception.HttpResponseException
Exception thrown for an invalid response with
TableServiceError
information.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTableServiceException
(String message, com.azure.core.http.HttpResponse response) Initializes a new instance of theTableServiceException
class.TableServiceException
(String message, com.azure.core.http.HttpResponse response, TableServiceError value) Initializes a new instance of theTableServiceException
class. -
Method Summary
Methods inherited from class com.azure.core.exception.HttpResponseException
getResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TableServiceException
Initializes a new instance of theTableServiceException
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, com.azure.core.http.HttpResponse response, TableServiceError value) Initializes a new instance of theTableServiceException
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
Description copied from class:com.azure.core.exception.HttpResponseException
Gets the deserialized HTTP response value.- Overrides:
getValue
in classcom.azure.core.exception.HttpResponseException
- Returns:
- The deserialized HTTP response value.
-