play.data.parsing
类 ApacheMultipartParser.SizeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.fileupload.FileUploadException
play.data.parsing.ApacheMultipartParser.SizeException
- 所有已实现的接口:
- java.io.Serializable
- 包容类:
- ApacheMultipartParser
protected abstract static class ApacheMultipartParser.SizeException
- extends FileUploadException
This exception is thrown, if a requests permitted size is exceeded.
- 另请参见:
- 序列化表格
从类 java.lang.Throwable 继承的方法 |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ApacheMultipartParser.SizeException
protected ApacheMultipartParser.SizeException(java.lang.String message,
long actual,
long permitted)
- Creates a new instance.
- 参数:
message
- The detail message.actual
- The actual number of bytes in the request.permitted
- The requests size limit, in bytes.
getActualSize
public long getActualSize()
- Retrieves the actual size of the request.
- 返回:
- The actual size of the request.
getPermittedSize
public long getPermittedSize()
- Retrieves the permitted size of the request.
- 返回:
- The permitted size of the request.
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly