Class FileUploadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.vaadin.external.apache.commons.fileupload2.FileUploadException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FileCountLimitExceededException,FileSizeLimitExceededException,InvalidContentTypeException,IOFileUploadException,SizeLimitExceededException
Exception for errors encountered while processing the request.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newFileUploadExceptionwithout message.Constructs a newFileUploadExceptionwith specified detail message.FileUploadException(String msg, Throwable cause) Creates a newFileUploadExceptionwith the given detail message and cause. -
Method Summary
Modifier and TypeMethodDescriptiongetCause()voidprintStackTrace(PrintStream stream) Prints this throwable and its backtrace to the specified print stream.voidprintStackTrace(PrintWriter writer) Prints this throwable and its backtrace to the specified print writer.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FileUploadException
public FileUploadException()Constructs a newFileUploadExceptionwithout message. -
FileUploadException
Constructs a newFileUploadExceptionwith specified detail message.- Parameters:
msg- the error message.
-
FileUploadException
Creates a newFileUploadExceptionwith the given detail message and cause.- Parameters:
msg- The exceptions detail message.cause- The exceptions cause.
-
-
Method Details
-
printStackTrace
Prints this throwable and its backtrace to the specified print stream.- Overrides:
printStackTracein classThrowable- Parameters:
stream-PrintStreamto use for output
-
printStackTrace
Prints this throwable and its backtrace to the specified print writer.- Overrides:
printStackTracein classThrowable- Parameters:
writer-PrintWriterto use for output
-
getCause
-