Class FileCountLimitExceededException

  • All Implemented Interfaces:
    java.io.Serializable

    public class FileCountLimitExceededException
    extends FileUploadException
    This exception is thrown if a request contains more files than the specified limit.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getLimit()
      Retrieves the limit that was exceeded.
      • 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

      • FileCountLimitExceededException

        public FileCountLimitExceededException​(java.lang.String message,
                                               long limit)
        Creates a new instance.
        Parameters:
        message - The detail message
        limit - The limit that was exceeded
    • Method Detail

      • getLimit

        public long getLimit()
        Retrieves the limit that was exceeded.
        Returns:
        The limit that was exceeded by the request