public class AttachmentDataStreamSizeMismatchException extends RuntimeException
InputStream
received to create an attachment
is different to the declared size or length of the attachment.
This could happen if an upload is cancelled and only a portion of the file is transferred.Constructor and Description |
---|
AttachmentDataStreamSizeMismatchException(long expectedSize,
long actualSize)
Constructs an AttachmentDataStreamSizeMismatchException.
|
Modifier and Type | Method and Description |
---|---|
long |
getActualSize() |
long |
getExpectedSize() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2003–2017 Atlassian. All rights reserved.