wjhk.jupload2.exception
Class JUploadExceptionTooBigFile
java.lang.Object
java.lang.Throwable
java.lang.Exception
wjhk.jupload2.exception.JUploadException
wjhk.jupload2.exception.JUploadExceptionTooBigFile
- All Implemented Interfaces:
- Serializable
public class JUploadExceptionTooBigFile
- extends JUploadException
This exception indicates, that the file that is to be uploaded is too big.
Note: the file to upload may be smaller than the file selected by the user.
For instance, a picture may be reduced before upload.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
JUploadExceptionTooBigFile
public JUploadExceptionTooBigFile(String filename,
long uploadLength,
UploadPolicy uploadPolicy)
- Creates a new instance.
- Parameters:
filename
- The filename for the file in erroruploadLength
- The length of this fileuploadPolicy
- The current upload policy.