Class AttachmentWriteException

All Implemented Interfaces:
Serializable

@ExperimentalApi public class AttachmentWriteException extends AttachmentRuntimeException
Represents a case where writing attachment data has failed (e.g. there was a failure to write to the file system, or there was an error sending the attachment to the remote attachment store).
Since:
v6.3
See Also:
  • Constructor Details

    • AttachmentWriteException

      public AttachmentWriteException(String message)
    • AttachmentWriteException

      public AttachmentWriteException(Throwable cause)
    • AttachmentWriteException

      public AttachmentWriteException(String message, Throwable cause)
  • Method Details

    • doGenerateMessage

      protected io.atlassian.fugue.Option<String> doGenerateMessage(I18nHelper localisedMessages)
      Description copied from class: AttachmentRuntimeException
      Generate a localised message for this exception.
      Overrides:
      doGenerateMessage in class AttachmentRuntimeException
      Parameters:
      localisedMessages - Internationalisation helper that can provide localised messages for given codes.
      Returns:
      a localised message for this exception. Option.none() to use the default (i.e. getMessage()).