Class FileUploadException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.commons.fileupload2.core.FileUploadException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
FileItemInput.ItemSkippedException,FileUploadContentTypeException,FileUploadSizeException,MultipartInput.FileUploadBoundaryException,MultipartInput.MalformedStreamException
public class FileUploadException extends java.io.IOException
Signals errors encountered while processing the request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileUploadException(java.lang.String message)Constructs an instance with a given detail message.FileUploadException(java.lang.String message, java.lang.Throwable cause)Constructs an instance with the given detail message and cause.
-
-
-
Constructor Detail
-
FileUploadException
public FileUploadException(java.lang.String message)
Constructs an instance with a given detail message.- Parameters:
message- The detail message (which is saved for later retrieval by theThrowable.getMessage()method)
-
FileUploadException
public FileUploadException(java.lang.String message, java.lang.Throwable cause)
Constructs an instance with the given detail message and cause.- Parameters:
message- The detail message (which is saved for later retrieval by theThrowable.getMessage()method)cause- The cause (which is saved for later retrieval by theThrowable.getCause()method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-