public class MaxUploadSizeExceededException extends MultipartException
Constructor and Description |
---|
MaxUploadSizeExceededException(long maxUploadSize)
Constructor for MaxUploadSizeExceededException.
|
MaxUploadSizeExceededException(long maxUploadSize,
java.lang.Throwable ex)
Constructor for MaxUploadSizeExceededException.
|
Modifier and Type | Method and Description |
---|---|
long |
getMaxUploadSize()
Return the maximum upload size allowed,
or -1 if the size limit isn't known.
|
contains, getMessage, getMostSpecificCause, getRootCause
public MaxUploadSizeExceededException(long maxUploadSize)
maxUploadSize
- the maximum upload size allowed,
or -1 if the size limit isn't knownpublic MaxUploadSizeExceededException(long maxUploadSize, @Nullable java.lang.Throwable ex)
maxUploadSize
- the maximum upload size allowed,
or -1 if the size limit isn't knownex
- root cause from multipart parsing API in use