Package org.apache.commons.fileupload
Class FileUploadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.fileupload.FileUploadException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FileCountLimitExceededException
,FileUploadBase.InvalidContentTypeException
,FileUploadBase.IOFileUploadException
,FileUploadBase.SizeException
,FileUploadBase.UnknownSizeException
Exception for errors encountered while processing the request.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newFileUploadException
without message.FileUploadException
(String message) Constructs a newFileUploadException
with specified detail message.FileUploadException
(String message, Throwable cause) Creates a newFileUploadException
with the given detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FileUploadException
public FileUploadException()Constructs a newFileUploadException
without message. -
FileUploadException
Constructs a newFileUploadException
with specified detail message.- Parameters:
message
- the error message.
-
FileUploadException
Creates a newFileUploadException
with the given detail message and cause.- Parameters:
message
- The exceptions detail message.cause
- The exceptions cause.
-