org.springframework.web.multipart
Class MultipartException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.servlet.ServletException
org.springframework.web.util.NestedServletException
org.springframework.web.multipart.MultipartException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MaxUploadSizeExceededException
public class MultipartException
- extends NestedServletException
Exception thrown on multipart resolution.
Extends ServletException for convenient throwing in any Servlet resource
(such as a Filter), and NestedServletException for proper root cause handling
(as the plain ServletException doesn't expose its root cause at all).
- Since:
- 29.09.2003
- Author:
- Trevor D. Cook
- See Also:
MultipartResolver.resolveMultipart(javax.servlet.http.HttpServletRequest)
,
MultipartFilter
,
Serialized Form
MultipartException
public MultipartException(String msg)
- Constructor for MultipartException.
- Parameters:
msg
- the detail message
MultipartException
public MultipartException(String msg,
Throwable ex)
- Constructor for MultipartException.
- Parameters:
msg
- the detail messageex
- root cause from multipart parsing API in use
Copyright (c) 2002-2006 The Spring Framework Project.