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

MultipartException (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

org.springframework.web.multipart
Class MultipartException

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
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

Constructor Summary
MultipartException(String msg)
          Constructor for MultipartException.
MultipartException(String msg, Throwable cause)
          Constructor for MultipartException.
 
Method Summary
 
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

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 message
cause - the root cause from the multipart parsing API in use

The Spring Framework

Copyright © 2002-2007 The Spring Framework.