org.apache.commons.httpclient

Class HttpContentTooLargeException

Implemented Interfaces:
Serializable

public class HttpContentTooLargeException
extends HttpException

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

Constructor Summary

HttpContentTooLargeException(String message, int maxlen)

Method Summary

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

fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

HttpContentTooLargeException

public HttpContentTooLargeException(String message,
                                    int maxlen)

Method Details

getMaxLength

public int getMaxLength()
Returns:
the maximum anticipated content length in bytes.