Class FileUploadBase.UnknownSizeException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    FileUploadBase

    @Deprecated
    public static class FileUploadBase.UnknownSizeException
    extends FileUploadException
    Deprecated.
    1.2 As of commons-fileupload 1.2, the presence of a content-length header is no longer required.
    Thrown to indicate that the request size is not specified. In other words, it is thrown, if the content-length header is missing or contains the value -1.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      UnknownSizeException()
      Deprecated.
      Constructs a UnknownSizeException with no detail message.
      UnknownSizeException​(java.lang.String message)
      Deprecated.
      Constructs an UnknownSizeException with the specified detail message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UnknownSizeException

        public UnknownSizeException()
        Deprecated.
        Constructs a UnknownSizeException with no detail message.
      • UnknownSizeException

        public UnknownSizeException​(java.lang.String message)
        Deprecated.
        Constructs an UnknownSizeException with the specified detail message.
        Parameters:
        message - The detail message.