Class ContentLengthExceededException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ContentLengthExceededException
    extends HttpException
    Exception thrown when the content length exceeds the allowed amount.
    Since:
    1.0
    See Also:
    Serialized Form
    • 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

      • ContentLengthExceededException

        public ContentLengthExceededException​(java.lang.String message)
        Parameters:
        message - The message
      • ContentLengthExceededException

        public ContentLengthExceededException​(java.lang.String message,
                                              java.lang.Throwable cause)
        Parameters:
        message - The message
        cause - The throwable
      • ContentLengthExceededException

        public ContentLengthExceededException​(long advertisedLength,
                                              long receivedLength)
        Parameters:
        advertisedLength - The advertised length
        receivedLength - The received length