org.apache.tomcat.util.http.fileupload
Class FileUploadBase.FileSizeLimitExceededException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.tomcat.util.http.fileupload.FileUploadException
              extended by org.apache.tomcat.util.http.fileupload.FileUploadBase.SizeException
                  extended by org.apache.tomcat.util.http.fileupload.FileUploadBase.FileSizeLimitExceededException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
FileUploadBase

public static class FileUploadBase.FileSizeLimitExceededException
extends FileUploadBase.SizeException

Thrown to indicate that A files size exceeds the configured maximum.

See Also:
Serialized Form

Constructor Summary
FileUploadBase.FileSizeLimitExceededException(java.lang.String message, long actual, long permitted)
          Constructs a SizeExceededException with the specified detail message, and actual and permitted sizes.
 
Method Summary
 
Methods inherited from class org.apache.tomcat.util.http.fileupload.FileUploadBase.SizeException
getActualSize, getPermittedSize
 
Methods inherited from class org.apache.tomcat.util.http.fileupload.FileUploadException
getCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileUploadBase.FileSizeLimitExceededException

public FileUploadBase.FileSizeLimitExceededException(java.lang.String message,
                                                     long actual,
                                                     long permitted)
Constructs a SizeExceededException with the specified detail message, and actual and permitted sizes.

Parameters:
message - The detail message.
actual - The actual request size.
permitted - The maximum permitted request size.


Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.