Class InvalidLayerPartException
- All Implemented Interfaces:
Serializable
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.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidLayerPartException
(String message) Constructs a new InvalidLayerPartException with the specified error message. -
Method Summary
Modifier and TypeMethodDescriptionThe last valid byte received from the layer part upload that is associated with the exception.The registry ID associated with the exception.The repository name associated with the exception.The upload ID associated with the exception.void
setLastValidByteReceived
(Long lastValidByteReceived) The last valid byte received from the layer part upload that is associated with the exception.void
setRegistryId
(String registryId) The registry ID associated with the exception.void
setRepositoryName
(String repositoryName) The repository name associated with the exception.void
setUploadId
(String uploadId) The upload ID associated with the exception.withLastValidByteReceived
(Long lastValidByteReceived) The last valid byte received from the layer part upload that is associated with the exception.withRegistryId
(String registryId) The registry ID associated with the exception.withRepositoryName
(String repositoryName) The repository name associated with the exception.withUploadId
(String uploadId) The upload ID associated with the exception.Methods inherited from class com.amazonaws.AmazonServiceException
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
Methods inherited from class com.amazonaws.AmazonClientException
isRetryable
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidLayerPartException
Constructs a new InvalidLayerPartException with the specified error message.- Parameters:
message
- Describes the error encountered.
-
-
Method Details
-
setRegistryId
The registry ID associated with the exception.
- Parameters:
registryId
- The registry ID associated with the exception.
-
getRegistryId
The registry ID associated with the exception.
- Returns:
- The registry ID associated with the exception.
-
withRegistryId
The registry ID associated with the exception.
- Parameters:
registryId
- The registry ID associated with the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRepositoryName
The repository name associated with the exception.
- Parameters:
repositoryName
- The repository name associated with the exception.
-
getRepositoryName
The repository name associated with the exception.
- Returns:
- The repository name associated with the exception.
-
withRepositoryName
The repository name associated with the exception.
- Parameters:
repositoryName
- The repository name associated with the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUploadId
The upload ID associated with the exception.
- Parameters:
uploadId
- The upload ID associated with the exception.
-
getUploadId
The upload ID associated with the exception.
- Returns:
- The upload ID associated with the exception.
-
withUploadId
The upload ID associated with the exception.
- Parameters:
uploadId
- The upload ID associated with the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastValidByteReceived
The last valid byte received from the layer part upload that is associated with the exception.
- Parameters:
lastValidByteReceived
- The last valid byte received from the layer part upload that is associated with the exception.
-
getLastValidByteReceived
The last valid byte received from the layer part upload that is associated with the exception.
- Returns:
- The last valid byte received from the layer part upload that is associated with the exception.
-
withLastValidByteReceived
The last valid byte received from the layer part upload that is associated with the exception.
- Parameters:
lastValidByteReceived
- The last valid byte received from the layer part upload that is associated with the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-