Class FileUploadException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.tomcat.util.http.fileupload.FileUploadException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidContentTypeException
,IOFileUploadException
,SizeException
public class FileUploadException extends IOException
Exception for errors encountered while processing the request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileUploadException()
Constructs a newFileUploadException
without message.FileUploadException(String msg)
Constructs a newFileUploadException
with specified detail message.FileUploadException(String msg, Throwable cause)
Creates a newFileUploadException
with the given detail message and cause.FileUploadException(Throwable cause)
Creates a newFileUploadException
with the given cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FileUploadException
public FileUploadException()
Constructs a newFileUploadException
without message.
-
FileUploadException
public FileUploadException(String msg)
Constructs a newFileUploadException
with specified detail message.- Parameters:
msg
- the error message.
-
FileUploadException
public FileUploadException(String msg, Throwable cause)
Creates a newFileUploadException
with the given detail message and cause.- Parameters:
msg
- The exceptions detail message.cause
- The exceptions cause.
-
FileUploadException
public FileUploadException(Throwable cause)
Creates a newFileUploadException
with the given cause.- Parameters:
cause
- The exceptions cause.
-
-