public class MaxUploadSizeExceededException extends MultipartException
| Constructor and Description | 
|---|
| MaxUploadSizeExceededException(long maxUploadSize)Constructor for MaxUploadSizeExceededException. | 
| MaxUploadSizeExceededException(long maxUploadSize,
                              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, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MaxUploadSizeExceededException(long maxUploadSize)
maxUploadSize - the maximum upload size allowed,
 or -1 if the size limit isn't knownpublic MaxUploadSizeExceededException(long maxUploadSize,
                                      @Nullable
                                      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