org.apache.commons.fileupload
Class FileUploadBase.SizeLimitExceededException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.commons.fileupload.FileUploadException
              extended by org.apache.commons.fileupload.FileUploadBase.SizeException
                  extended by org.apache.commons.fileupload.FileUploadBase.SizeLimitExceededException
All Implemented Interfaces:
Serializable
Enclosing class:
FileUploadBase

public static class FileUploadBase.SizeLimitExceededException
extends FileUploadBase.SizeException

Thrown to indicate that the request size exceeds the configured maximum.

See Also:
Serialized Form

Constructor Summary
FileUploadBase.SizeLimitExceededException()
          Deprecated. Replaced by #SizeLimitExceededException(String, long, long)
FileUploadBase.SizeLimitExceededException(String message)
          Deprecated. Replaced by #SizeLimitExceededException(String, long, long)
FileUploadBase.SizeLimitExceededException(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.commons.fileupload.FileUploadBase.SizeException
getActualSize, getPermittedSize
 
Methods inherited from class org.apache.commons.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.SizeLimitExceededException

public FileUploadBase.SizeLimitExceededException()
Deprecated. Replaced by #SizeLimitExceededException(String, long, long)


FileUploadBase.SizeLimitExceededException

public FileUploadBase.SizeLimitExceededException(String message)
Deprecated. Replaced by #SizeLimitExceededException(String, long, long)

Parameters:
message - The exceptions detail message.

FileUploadBase.SizeLimitExceededException

public FileUploadBase.SizeLimitExceededException(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 © 2002-2010 The Apache Software Foundation. All Rights Reserved.