Class DocumentServiceException

    • Constructor Detail

      • DocumentServiceException

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

      • setStatus

        public void setStatus​(String status)

        The return status of a document upload request, error or success.

        Parameters:
        status - The return status of a document upload request, error or success.
      • getStatus

        public String getStatus()

        The return status of a document upload request, error or success.

        Returns:
        The return status of a document upload request, error or success.
      • withStatus

        public DocumentServiceException withStatus​(String status)

        The return status of a document upload request, error or success.

        Parameters:
        status - The return status of a document upload request, error or success.
        Returns:
        Returns a reference to this object so that method calls can be chained together.