org.springframework.web.multipart
Class MaxUploadSizeExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.servlet.ServletException
org.springframework.web.util.NestedServletException
org.springframework.web.multipart.MultipartException
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
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 allowedex
- root cause from multipart parsing API in use
getMaxUploadSize
public long getMaxUploadSize()
- Return the maximum upload size allowed.
Copyright (c) 2002-2007 The Spring Framework Project.