com.vaadin.external.apache.commons.fileupload2.
Class FileUploadException
All Implemented Interfaces:
Direct Known Subclasses:
FileCountLimitExceededException
, FileSizeLimitExceededException
, InvalidContentTypeException
, IOFileUploadException
, SizeLimitExceededException
Exception for errors encountered while processing the request.
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new
FileUploadException
without message.Constructs a new
FileUploadException
with specified detail message.FileUploadException
(String msg, Throwable cause) Creates a new
FileUploadException
with the given detail message and cause. -
Method Summary
Modifier and TypeMethodDescriptiongetCause()
void
printStackTrace
(PrintStream stream) Prints this throwable and its backtrace to the specified print stream.
void
printStackTrace
(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 new
FileUploadException
without message. -
FileUploadException
Constructs a new
FileUploadException
with specified detail message.Parameters:
msg
- the error message. -
FileUploadException
Creates a new
FileUploadException
with 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:
printStackTrace
in classThrowable
Parameters:
stream
-PrintStream
to use for output -
printStackTrace
Prints this throwable and its backtrace to the specified print writer.
Overrides:
printStackTrace
in classThrowable
Parameters:
writer
-PrintWriter
to use for output -
getCause
-