public final class TableServiceException extends StorageException
Constructor and Description |
---|
TableServiceException(String errorCode,
String message,
int statusCode,
StorageExtendedErrorInformation extendedErrorInfo,
Exception innerException)
Constructs a
TableServiceException instance using the specified error code, message, status code,
extended error information and inner exception. |
Modifier and Type | Method and Description |
---|---|
TableOperation |
getOperation()
Gets the table operation that caused the
TableServiceException to be thrown. |
getErrorCode, getExtendedErrorInformation, getHttpStatusCode, translateClientException, translateException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TableServiceException(String errorCode, String message, int statusCode, StorageExtendedErrorInformation extendedErrorInfo, Exception innerException)
TableServiceException
instance using the specified error code, message, status code,
extended error information and inner exception.errorCode
- A String
that represents the error code returned by the table operation.message
- A String
that represents the error message returned by the table operation.statusCode
- An int
which represents the HTTP status code returned by the table operation.extendedErrorInfo
- A StorageExtendedErrorInformation
object that represents the extended error information
returned by the table operation.innerException
- An Exception
object that represents a reference to the initial exception, if one exists.public TableOperation getOperation()
TableServiceException
to be thrown.TableOperation
object representing the table operation that caused this
TableServiceException
to be thrown.Copyright © 2018. All Rights Reserved.