Class MultipartConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vaadin.flow.server.communication.MultipartConfigurationException
- All Implemented Interfaces:
Serializable
Exception thrown when multipart upload is attempted but the servlet is not
configured to handle multipart requests.
For internal use only. May be renamed or removed in a future release.
- Since:
- 25.0
- Author:
- Vaadin Ltd
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe standard error message explaining multipart configuration requirements. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception with a detailed message explaining the configuration requirement.Constructs a new exception with the standard message and a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
MULTIPART_CONFIG_MISSING_MESSAGE
The standard error message explaining multipart configuration requirements.- See Also:
-
-
Constructor Details
-
MultipartConfigurationException
public MultipartConfigurationException()Constructs a new exception with a detailed message explaining the configuration requirement. -
MultipartConfigurationException
Constructs a new exception with the standard message and a cause.- Parameters:
cause- the cause of this exception
-