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 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).
Public Constructors
public
AttachmentWriteException
(String message)
public
AttachmentWriteException
(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()).