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:
java.io.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(HttpServletRequest), MultipartFilter, Serialized Form

Constructor Summary
MultipartException(java.lang.String msg)
          Constructor for MultipartException.
MultipartException(java.lang.String msg, java.lang.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(java.lang.String msg)
Constructor for MultipartException.

Parameters:
msg - the detail message

MultipartException

public MultipartException(java.lang.String msg,
                          java.lang.Throwable cause)
Constructor for MultipartException.

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