Class SizeLimitExceededException

  • All Implemented Interfaces:
    java.io.Serializable

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

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

      • 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 message,
                                          long actual,
                                          long permitted)
        Constructs a SizeExceededException with the specified detail message, and actual and permitted sizes.
        Parameters:
        message - The detail message.
        actual - The actual request size.
        permitted - The maximum permitted request size.