microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableServiceException.java
protected static TableServiceException generateTableServiceException(RequestResult res, TableOperation op,
            InputStream inStream, TablePayloadFormat format) {
        return new TableServiceException(res.getStatusCode(), res.getStatusMessage(), op, 
                new InputStreamReader(inStream), format);
    }
protected static TableServiceException generateTableServiceException(RequestResult res, TableOperation op,
            InputStream inStream, TablePayloadFormat format) {
        return new TableServiceException(res.getStatusCode(), res.getStatusMessage(), op, 
                new InputStreamReader(inStream), format);
    }
Reserved for internal use. A static factory method to create a {@link TableServiceException} instance using
the specified parameters.
@param res
A {@link RequestResult} containing the result of the table storage service operation.
@param op
The {@link TableOperation} representing the table operation that caused the exception.
@param inStream
The <code>java.io.InputStream</code> of the error response from the table operation request.
@param format
The {@link TablePayloadFormat} to use for parsing

@return
A {@link TableServiceException} instance initialized with values from the input parameters.