IOFileUploadException (Apache Tomcat 8.5.55 API Documentation)

org.apache.tomcat.util.http.fileupload.impl

## Class IOFileUploadException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - org.apache.tomcat.util.http.fileupload.FileUploadException
      - - org.apache.tomcat.util.http.fileupload.impl.IOFileUploadException

- All Implemented Interfaces:
    Serializable

      public class IOFileUploadException
      extends FileUploadException

  Thrown to indicate an IOException.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IOFileUploadException(String pMsg, IOException pException)` Creates a new instance with the given cause.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Throwable` | `getCause()` Returns the exceptions cause.

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

      `addSuppressed, fillInStackTrace, 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

    - #### IOFileUploadException

          public IOFileUploadException(String pMsg,
                               IOException pException)

      Creates a new instance with the given cause.
      Parameters:
        `pMsg` - The detail message.
        `pException` - The exceptions cause.

  - ### Method Detail

    - #### getCause

          public Throwable getCause()

      Returns the exceptions cause.
      Overrides:
        `getCause` in class `Throwable`
      Returns:
        The exceptions cause, if any, or null.

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