PAJES 3.0.21

org.pajes.servlet
Class UploadFileRequestTooLargeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.pajes.servlet.UploadFileRequestException
                  extended by org.pajes.servlet.UploadFileRequestTooLargeException
All Implemented Interfaces:
java.io.Serializable

public class UploadFileRequestTooLargeException
extends UploadFileRequestException

Thrown when a file upload request exceeds the maximum posting size.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.pajes.servlet.UploadFileRequestException
BOUNDARY_MISSING, CORRUPT_CONTENT_DISPOSITION, CORRUPT_CONTENT_TYPE, LEADING_BOUNDARY_MISSING, MALFORMED_CONTENT_HEADERS, MAX_POSTING_SIZE_EXCEEDED, TEMP_DIR_MISSING, TEMP_DIR_NOT_DIRECTORY, TEMP_DIR_NOT_WRITABLE
 
Constructor Summary
UploadFileRequestTooLargeException(int contentLength, int maxSize)
          Flags that the request is larger than the maximum permitted posting size.
 
Method Summary
 int getContentLength()
          Returns the content length of the request.
 int getMaxFileUploadSize()
          Returns the maximum allowable posting size for this request.
 
Methods inherited from class org.pajes.servlet.UploadFileRequestException
getRootCause
 
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

UploadFileRequestTooLargeException

public UploadFileRequestTooLargeException(int contentLength,
                                          int maxSize)
Flags that the request is larger than the maximum permitted posting size.

Parameters:
contentLength - the size of the request.
maxSize - the maximum allowed size.
Method Detail

getContentLength

public int getContentLength()
Returns the content length of the request.

Returns:
the content length of the request.

getMaxFileUploadSize

public int getMaxFileUploadSize()
Returns the maximum allowable posting size for this request.

Returns:
the maximum allowable posting size for this request.

PAJES 3.0.21

Copyright © 1998-2007 Viridian Pty Limited. All Rights Reserved.