org.apache.commons.httpclient
Class HttpContentTooLargeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.commons.httpclient.HttpException
                  extended by org.apache.commons.httpclient.HttpContentTooLargeException
All Implemented Interfaces:
Serializable

public class HttpContentTooLargeException
extends HttpException

Signals that the response content was larger than anticipated.

Author:
Ortwin Glück
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, getLocalizedMessage, getMessage, getStackTrace, 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(String message,
                                    int maxlen)
Method Detail

getMaxLength

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


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.