@ExperimentalApi public class

AttachmentStorageUnavailableException

extends AttachmentRuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.jira.issue.attachment.AttachmentRuntimeException
           ↳ com.atlassian.jira.issue.attachment.AttachmentStorageUnavailableException

@ExperimentalApi

This class is considered usable by external developers but its contracts have not stabilized.

Experimental APIs may be changed at any time before being marked @Internal or @PublicApi.

Class Overview

Represents a case where the attachment storage subsystem is unavailable e.g. file system directories are not present.

Summary

Public Constructors
AttachmentStorageUnavailableException(String message)
AttachmentStorageUnavailableException(Throwable cause)
AttachmentStorageUnavailableException(String message, Throwable cause)
Protected Methods
Option<String> doGenerateMessage(I18nHelper localisedMessages)
Generate a localised message for this exception.
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.attachment.AttachmentRuntimeException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public AttachmentStorageUnavailableException (String message)

public AttachmentStorageUnavailableException (Throwable cause)

public AttachmentStorageUnavailableException (String message, Throwable cause)

Protected Methods

protected Option<String> doGenerateMessage (I18nHelper localisedMessages)

Generate a localised message for this exception.

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