org.springframework.web.multipart
Class MultipartException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.servlet.ServletException
              extended by org.springframework.web.util.NestedServletException
                  extended by 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

Constructor Summary
MultipartException(String msg)
          Constructor for MultipartException.
MultipartException(String msg, Throwable ex)
          Constructor for MultipartException.
 
Method Summary
 
Methods inherited from class org.springframework.web.util.NestedServletException
getMessage, printStackTrace, printStackTrace
 
Methods inherited from class javax.servlet.ServletException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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 ex)
Constructor for MultipartException.

Parameters:
msg - the detail message
ex - root cause from multipart parsing API in use


Copyright (c) 2002-2006 The Spring Framework Project.