org.springframework.web.multipart
Class MultipartException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.web.multipart.MultipartException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MaxUploadSizeExceededException

public class MultipartException
extends NestedRuntimeException

Exception thrown when multipart resolution fails.

Since:
29.09.2003
Author:
Trevor D. Cook, Juergen Hoeller
See Also:
MultipartResolver.resolveMultipart(javax.servlet.http.HttpServletRequest), MultipartFilter, 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.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, 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


Copyright © 2002-2008 The Spring Framework.