wjhk.jupload2.exception
Class JUploadExceptionTooBigFile

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by wjhk.jupload2.exception.JUploadException
              extended by 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

Constructor Summary
JUploadExceptionTooBigFile(String filename, long uploadLength, UploadPolicy uploadPolicy)
          Creates a new instance.
 
Method Summary
 
Methods inherited from class wjhk.jupload2.exception.JUploadException
getClassNameAndClause, getLocation
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JUploadExceptionTooBigFile

public JUploadExceptionTooBigFile(String filename,
                                  long uploadLength,
                                  UploadPolicy uploadPolicy)
Creates a new instance.

Parameters:
filename - The filename for the file in error
uploadLength - The length of this file
uploadPolicy - The current upload policy.