FileUploadException (Apache Tomcat 7.0.108 API Documentation)

org.apache.tomcat.util.http.fileupload

## 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 and Description
    `FileUploadException()` Constructs a new `FileUploadException` without message.
    `FileUploadException(String msg)` Constructs a new `FileUploadException` with specified detail message.
    `FileUploadException(String msg, Throwable cause)` Creates a new `FileUploadException` with the given detail message and cause.
    `FileUploadException(Throwable cause)` Creates a new `FileUploadException` 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`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### 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.

    - #### FileUploadException

          public FileUploadException(Throwable cause)

      Creates a new `FileUploadException` with the given cause.
      Parameters:
        `cause` - The exceptions cause.

Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.