Class UploadTimeLimitExceededException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UploadTimeLimitExceededException
    extends java.lang.Exception
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      UploadTimeLimitExceededException​(long timeLimit, java.lang.String fileName)
      Constructs a UploadTimeLimitExceededException with permitted time.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFileName()
      Returns the name of the uploaded file when the execption occurs.
      long getTimeLimit()
      Returns the maximum permitted file upload duration in milliseconds.
      • 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

      • UploadTimeLimitExceededException

        public UploadTimeLimitExceededException​(long timeLimit,
                                                java.lang.String fileName)
        Constructs a UploadTimeLimitExceededException with permitted time.
        Parameters:
        timeLimit - The maximum permitted file upload duration in milliseconds.
        fileName - The name of the uploaded file when the execption occurs.
        Since:
        3.3
    • Method Detail

      • getTimeLimit

        public long getTimeLimit()
        Returns the maximum permitted file upload duration in milliseconds.
      • getFileName

        public java.lang.String getFileName()
        Returns the name of the uploaded file when the execption occurs.