Class AttachmentWriteException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.jira.issue.attachment.AttachmentRuntimeException
com.atlassian.jira.issue.attachment.AttachmentWriteException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionAttachmentWriteException
(String message) AttachmentWriteException
(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionprotected io.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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AttachmentWriteException
-
AttachmentWriteException
-
AttachmentWriteException
-
-
Method Details
-
doGenerateMessage
Description copied from class:AttachmentRuntimeException
Generate a localised message for this exception.- Overrides:
doGenerateMessage
in classAttachmentRuntimeException
- 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()).
-