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.HttpResponseExceptionException thrown for an invalid response withTableServiceErrorinformation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TableServiceException(String message, com.azure.core.http.HttpResponse response)Initializes a new instance of theTableServiceExceptionclass.TableServiceException(String message, com.azure.core.http.HttpResponse response, TableServiceError value)Initializes a new instance of theTableServiceExceptionclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableServiceErrorgetValue()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TableServiceException
public TableServiceException(String message, com.azure.core.http.HttpResponse response)
Initializes a new instance of theTableServiceExceptionclass.- 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 theTableServiceExceptionclass.- 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 Detail
-
getValue
public TableServiceError getValue()
- Overrides:
getValuein classcom.azure.core.exception.HttpResponseException
-
-