Class InvalidLayerPartException

  • All Implemented Interfaces:
    Serializable

    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.

    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidLayerPartException

        public InvalidLayerPartException​(String message)
        Constructs a new InvalidLayerPartException with the specified error message.
        Parameters:
        message - Describes the error encountered.
    • Method Detail

      • setRegistryId

        public void setRegistryId​(String registryId)

        The registry ID associated with the exception.

        Parameters:
        registryId - The registry ID associated with the exception.
      • getRegistryId

        public String getRegistryId()

        The registry ID associated with the exception.

        Returns:
        The registry ID associated with the exception.
      • withRegistryId

        public InvalidLayerPartException withRegistryId​(String registryId)

        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

        public void setRepositoryName​(String repositoryName)

        The repository name associated with the exception.

        Parameters:
        repositoryName - The repository name associated with the exception.
      • getRepositoryName

        public String getRepositoryName()

        The repository name associated with the exception.

        Returns:
        The repository name associated with the exception.
      • withRepositoryName

        public InvalidLayerPartException withRepositoryName​(String repositoryName)

        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

        public void setUploadId​(String uploadId)

        The upload ID associated with the exception.

        Parameters:
        uploadId - The upload ID associated with the exception.
      • getUploadId

        public String getUploadId()

        The upload ID associated with the exception.

        Returns:
        The upload ID associated with the exception.
      • withUploadId

        public InvalidLayerPartException withUploadId​(String uploadId)

        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

        public void setLastValidByteReceived​(Long lastValidByteReceived)

        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

        public Long 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

        public InvalidLayerPartException withLastValidByteReceived​(Long lastValidByteReceived)

        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.