com.atlassian.jira.issue.attachment
Class AttachmentStorageUnavailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.atlassian.jira.issue.attachment.AttachmentRuntimeException
                  extended by com.atlassian.jira.issue.attachment.AttachmentStorageUnavailableException
All Implemented Interfaces:
Serializable

@ExperimentalApi
public class AttachmentStorageUnavailableException
extends AttachmentRuntimeException

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

Since:
v6.3
See Also:
Serialized Form

Constructor Summary
AttachmentStorageUnavailableException(String message)
           
AttachmentStorageUnavailableException(String message, Throwable cause)
           
AttachmentStorageUnavailableException(Throwable cause)
           
 
Method Summary
protected  com.atlassian.fugue.Option<String> doGenerateMessage(I18nHelper localisedMessages)
          Generate a localised message for this exception.
 
Methods inherited from class com.atlassian.jira.issue.attachment.AttachmentRuntimeException
generateMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttachmentStorageUnavailableException

public AttachmentStorageUnavailableException(String message)

AttachmentStorageUnavailableException

public AttachmentStorageUnavailableException(Throwable cause)

AttachmentStorageUnavailableException

public AttachmentStorageUnavailableException(String message,
                                             Throwable cause)
Method Detail

doGenerateMessage

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.