站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

MaxUploadSizeExceededException (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.web.multipart
Class MaxUploadSizeExceededException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.springframework.core.NestedIOException
                  extended by org.springframework.web.multipart.MultipartException
                      extended by org.springframework.web.multipart.MaxUploadSizeExceededException
All Implemented Interfaces:
Serializable

public class MaxUploadSizeExceededException
extends MultipartException

MultipartException subclass thrown when an upload exceeds the maximum upload size allowed.

Since:
1.0.1
Author:
Juergen Hoeller
See Also:
Serialized Form

Constructor Summary
MaxUploadSizeExceededException(long maxUploadSize)
          Constructor for MaxUploadSizeExceededException.
MaxUploadSizeExceededException(long maxUploadSize, Throwable ex)
          Constructor for MaxUploadSizeExceededException.
 
Method Summary
 long getMaxUploadSize()
          Return the maximum upload size allowed.
 
Methods inherited from class org.springframework.core.NestedIOException
getCause, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MaxUploadSizeExceededException

public MaxUploadSizeExceededException(long maxUploadSize)
Constructor for MaxUploadSizeExceededException.

Parameters:
maxUploadSize - the maximum upload size allowed

MaxUploadSizeExceededException

public MaxUploadSizeExceededException(long maxUploadSize,
                                      Throwable ex)
Constructor for MaxUploadSizeExceededException.

Parameters:
maxUploadSize - the maximum upload size allowed
ex - root cause from multipart parsing API in use
Method Detail

getMaxUploadSize

public long getMaxUploadSize()
Return the maximum upload size allowed.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.