com.atlassian.jira.issue.attachment
Class TemporaryAttachmentStorageUnavailableException

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.TemporaryAttachmentStorageUnavailableException
All Implemented Interfaces:
Serializable

public class TemporaryAttachmentStorageUnavailableException
extends AttachmentRuntimeException

Represents a case where the storage subsystem for temporary attachments (e.g. temporarily file system) is unavailable.

Since:
v6.3
See Also:
Serialized Form

Constructor Summary
TemporaryAttachmentStorageUnavailableException(String message)
           
TemporaryAttachmentStorageUnavailableException(String message, Throwable cause)
           
TemporaryAttachmentStorageUnavailableException(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

TemporaryAttachmentStorageUnavailableException

public TemporaryAttachmentStorageUnavailableException(String message)

TemporaryAttachmentStorageUnavailableException

public TemporaryAttachmentStorageUnavailableException(Throwable cause)

TemporaryAttachmentStorageUnavailableException

public TemporaryAttachmentStorageUnavailableException(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.