com.atlassian.jira.issue.attachment
Class AttachmentWriteException

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.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:
Serialized Form

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

AttachmentWriteException

public AttachmentWriteException(String message)

AttachmentWriteException

public AttachmentWriteException(Throwable cause)

AttachmentWriteException

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