HttpContentTooLargeException (HttpClient Library (Version 3.1))
Date: 2018-05-07

org.apache.commons.httpclient

## Class HttpContentTooLargeException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.io.IOException
      - - org.apache.commons.httpclient.HttpException
        - - org.apache.commons.httpclient.HttpContentTooLargeException

- All Implemented Interfaces:
    java.io.Serializable

      public class HttpContentTooLargeException
      extends HttpException

  Signals that the response content was larger than anticipated.
  Author:
    Ortwin Glueck
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HttpContentTooLargeException(java.lang.String message, int maxlen)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getMaxLength()`

    - ### Methods inherited from class org.apache.commons.httpclient.HttpException

      `getCause, getReason, getReasonCode, printStackTrace, printStackTrace, printStackTrace, setReason, setReasonCode`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### HttpContentTooLargeException

          public HttpContentTooLargeException(java.lang.String message,
                                      int maxlen)

  - ### Method Detail

    - #### getMaxLength

          public int getMaxLength()

      Returns:
        the maximum anticipated content length in bytes.

Copyright (c) 1999-2005 - Apache Software Foundation