public class InvalidLayerPartException extends AmazonServiceException
The layer part size is not valid, or the first byte specified is not consecutive to the last byte of a previous layer part upload.
AmazonServiceException.ErrorType
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
lastValidByteReceived
The last valid byte received from the layer part upload that is
associated with the exception.
|
private java.lang.String |
registryId
The registry ID associated with the exception.
|
private java.lang.String |
repositoryName
The repository name associated with the exception.
|
private static long |
serialVersionUID |
private java.lang.String |
uploadId
The upload ID associated with the exception.
|
Constructor and Description |
---|
InvalidLayerPartException(java.lang.String message)
Constructs a new InvalidLayerPartException with the specified error
message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getLastValidByteReceived()
The last valid byte received from the layer part upload that is
associated with the exception.
|
java.lang.String |
getRegistryId()
The registry ID associated with the exception.
|
java.lang.String |
getRepositoryName()
The repository name associated with the exception.
|
java.lang.String |
getUploadId()
The upload ID associated with the exception.
|
void |
setLastValidByteReceived(java.lang.Long lastValidByteReceived)
The last valid byte received from the layer part upload that is
associated with the exception.
|
void |
setRegistryId(java.lang.String registryId)
The registry ID associated with the exception.
|
void |
setRepositoryName(java.lang.String repositoryName)
The repository name associated with the exception.
|
void |
setUploadId(java.lang.String uploadId)
The upload ID associated with the exception.
|
InvalidLayerPartException |
withLastValidByteReceived(java.lang.Long lastValidByteReceived)
The last valid byte received from the layer part upload that is
associated with the exception.
|
InvalidLayerPartException |
withRegistryId(java.lang.String registryId)
The registry ID associated with the exception.
|
InvalidLayerPartException |
withRepositoryName(java.lang.String repositoryName)
The repository name associated with the exception.
|
InvalidLayerPartException |
withUploadId(java.lang.String uploadId)
The upload ID associated with the exception.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
private static final long serialVersionUID
private java.lang.String registryId
The registry ID associated with the exception.
private java.lang.String repositoryName
The repository name associated with the exception.
private java.lang.String uploadId
The upload ID associated with the exception.
private java.lang.Long lastValidByteReceived
The last valid byte received from the layer part upload that is associated with the exception.
public InvalidLayerPartException(java.lang.String message)
message
- Describes the error encountered.public void setRegistryId(java.lang.String registryId)
The registry ID associated with the exception.
registryId
- The registry ID associated with the exception.public java.lang.String getRegistryId()
The registry ID associated with the exception.
public InvalidLayerPartException withRegistryId(java.lang.String registryId)
The registry ID associated with the exception.
registryId
- The registry ID associated with the exception.public void setRepositoryName(java.lang.String repositoryName)
The repository name associated with the exception.
repositoryName
- The repository name associated with the exception.public java.lang.String getRepositoryName()
The repository name associated with the exception.
public InvalidLayerPartException withRepositoryName(java.lang.String repositoryName)
The repository name associated with the exception.
repositoryName
- The repository name associated with the exception.public void setUploadId(java.lang.String uploadId)
The upload ID associated with the exception.
uploadId
- The upload ID associated with the exception.public java.lang.String getUploadId()
The upload ID associated with the exception.
public InvalidLayerPartException withUploadId(java.lang.String uploadId)
The upload ID associated with the exception.
uploadId
- The upload ID associated with the exception.public void setLastValidByteReceived(java.lang.Long lastValidByteReceived)
The last valid byte received from the layer part upload that is associated with the exception.
lastValidByteReceived
- The last valid byte received from the layer part upload that is
associated with the exception.public java.lang.Long getLastValidByteReceived()
The last valid byte received from the layer part upload that is associated with the exception.
public InvalidLayerPartException withLastValidByteReceived(java.lang.Long lastValidByteReceived)
The last valid byte received from the layer part upload that is associated with the exception.
lastValidByteReceived
- The last valid byte received from the layer part upload that is
associated with the exception.