Top Description Constructors Methods
org.springframework.web.multipart

public Class MultipartException

extends NestedRuntimeException
Class Inheritance
Known Direct Subclasses
org.springframework.web.multipart.MaxUploadSizeExceededException
Annotations
@SuppressWarnings:serial
Imports
org.springframework.core.NestedRuntimeException, org.springframework.lang.Nullable

Exception thrown when multipart resolution fails.
Authors
Trevor D. Cook, Juergen Hoeller
Since
29.09.2003
See Also
MultipartResolver#resolveMultipart, org.springframework.web.multipart.support.MultipartFilter

Constructor Summary

AccessConstructor and Description
public
MultipartException(String
the detail message
msg
)

Constructor for MultipartException.

public
MultipartException(String
the detail message
msg
,
Throwable
the root cause from the multipart parsing API in use
cause
)

Constructor for MultipartException.

Method Summary

Inherited from org.springframework.core.NestedRuntimeException:
containsgetMostSpecificCausegetRootCause

Constructor Detail

MultipartExceptionback to summary
public MultipartException(String msg)

Constructor for MultipartException.

Parameters
msg:String

the detail message

MultipartExceptionback to summary
public MultipartException(String msg, Throwable cause)

Constructor for MultipartException.

Parameters
msg:String

the detail message

cause:Throwable

the root cause from the multipart parsing API in use