Class AttachmentsDisabledException

All Implemented Interfaces:
Serializable

@ExperimentalApi public class AttachmentsDisabledException extends AttachmentRuntimeException
Represents a case where attachments are disabled
Since:
v9.7
See Also:
  • Constructor Details

    • AttachmentsDisabledException

      public AttachmentsDisabledException(String message)
    • AttachmentsDisabledException

      public AttachmentsDisabledException(Throwable cause)
    • AttachmentsDisabledException

      public AttachmentsDisabledException(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()).