org.springframework.web.multipart
Class MultipartException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.springframework.core.NestedIOException
org.springframework.web.multipart.MultipartException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MaxUploadSizeExceededException
public class MultipartException
- extends NestedIOException
Exception thrown on multipart resolution.
Extends IOException for convenient throwing in any Servlet/Portlet resource
(such as a Filter), and NestedIOException for proper root cause handling.
- Since:
- 29.09.2003
- Author:
- Trevor D. Cook, Juergen Hoeller
- See Also:
MultipartResolver.resolveMultipart(javax.servlet.http.HttpServletRequest)
,
MultipartFilter
,
NestedIOException
,
Serialized Form
MultipartException
public MultipartException(String msg)
- Constructor for MultipartException.
- Parameters:
msg
- the detail message
MultipartException
public MultipartException(String msg,
Throwable cause)
- Constructor for MultipartException.
- Parameters:
msg
- the detail messagecause
- the root cause from the multipart parsing API in use
Copyright © 2002-2007 The Spring Framework.