org.springframework.web.multipart.support
Class MissingServletRequestPartException

java.lang.Object
  extended by ServletException
      extended by org.springframework.web.multipart.support.MissingServletRequestPartException

public class MissingServletRequestPartException
extends ServletException

Raised when the part of a "multipart/form-data" request identified by its name cannot be found.

This may be because the request is not a multipart/form-data either because the part is not present in the request, or because the web application is not configured correctly for processing multipart requests -- e.g. no MultipartResolver.

Since:
3.1
Author:
Rossen Stoyanchev

Field Summary
private  java.lang.String partName
           
private static long serialVersionUID
           
 
Constructor Summary
MissingServletRequestPartException(java.lang.String partName)
           
 
Method Summary
 java.lang.String getRequestPartName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

partName

private final java.lang.String partName
Constructor Detail

MissingServletRequestPartException

public MissingServletRequestPartException(java.lang.String partName)
Method Detail

getRequestPartName

public java.lang.String getRequestPartName()