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

public class FileUploadException extends IOException
Exception for errors encountered while processing the request.
See Also:
  • Constructor Details

    • FileUploadException

      public FileUploadException()
      Constructs a new FileUploadException without message.
    • FileUploadException

      public FileUploadException(String msg)
      Constructs a new FileUploadException with specified detail message.
      Parameters:
      msg - the error message.
    • FileUploadException

      public FileUploadException(String msg, Throwable cause)
      Creates a new FileUploadException with the given detail message and cause.
      Parameters:
      msg - The exceptions detail message.
      cause - The exceptions cause.
  • Method Details

    • printStackTrace

      public void printStackTrace(PrintStream stream)
      Prints this throwable and its backtrace to the specified print stream.
      Overrides:
      printStackTrace in class Throwable
      Parameters:
      stream - PrintStream to use for output
    • printStackTrace

      public void printStackTrace(PrintWriter writer)
      Prints this throwable and its backtrace to the specified print writer.
      Overrides:
      printStackTrace in class Throwable
      Parameters:
      writer - PrintWriter to use for output
    • getCause

      public Throwable getCause()
      Overrides:
      getCause in class Throwable