Class SizeLimitExceededException

  • All Implemented Interfaces:
    java.io.Serializable

    public class SizeLimitExceededException
    extends RequestParseException
    Thrown to indicate that the request size exceeds the configured maximum.
    Since:
    6.3.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SizeLimitExceededException​(java.lang.String msg, long actual, long permitted)
      Constructs a SizeExceededException with the specified detail message, and actual and permitted sizes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getActual()  
      long getPermitted()  
      • 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

      • SizeLimitExceededException

        public SizeLimitExceededException​(java.lang.String msg,
                                          long actual,
                                          long permitted)
        Constructs a SizeExceededException with the specified detail message, and actual and permitted sizes.
        Parameters:
        msg - the detail message
        actual - the actual request size
        permitted - the maximum permitted request size
    • Method Detail

      • getActual

        public long getActual()
      • getPermitted

        public long getPermitted()