类 MaxUploadSizeExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.taketoday.core.NestedRuntimeException
cn.taketoday.web.bind.resolver.ParameterReadFailedException
cn.taketoday.web.bind.MultipartException
cn.taketoday.web.multipart.MaxUploadSizeExceededException
- 所有已实现的接口:
Serializable
MultipartException subclass thrown when an upload exceeds the
maximum upload size allowed.
- 从以下版本开始:
- 4.0 2022/4/28 21:49
- 作者:
- Juergen Hoeller, Harry Yang
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器构造器说明MaxUploadSizeExceededException(long maxUploadSize) Constructor for MaxUploadSizeExceededException.MaxUploadSizeExceededException(long maxUploadSize, Throwable ex) Constructor for MaxUploadSizeExceededException. -
方法概要
修饰符和类型方法说明longReturn the maximum upload size allowed, or -1 if the size limit isn't known.从类继承的方法 cn.taketoday.core.NestedRuntimeException
contains, getMostSpecificCause, getNestedMessage, getRootCause
-
字段详细资料
-
maxUploadSize
private final long maxUploadSize
-
-
构造器详细资料
-
MaxUploadSizeExceededException
public MaxUploadSizeExceededException(long maxUploadSize) Constructor for MaxUploadSizeExceededException.- 参数:
maxUploadSize- the maximum upload size allowed, or -1 if the size limit isn't known
-
MaxUploadSizeExceededException
Constructor for MaxUploadSizeExceededException.- 参数:
maxUploadSize- the maximum upload size allowed, or -1 if the size limit isn't knownex- root cause from multipart parsing API in use
-
-
方法详细资料
-
getMaxUploadSize
public long getMaxUploadSize()Return the maximum upload size allowed, or -1 if the size limit isn't known.
-