com.microsoft.tfs.core.httpclient
Class HttpContentTooLargeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.microsoft.tfs.core.httpclient.HttpException
                  extended by com.microsoft.tfs.core.httpclient.HttpContentTooLargeException
All Implemented Interfaces:
java.io.Serializable

public class HttpContentTooLargeException
extends HttpException

Signals that the response content was larger than anticipated.

See Also:
Serialized Form

Constructor Summary
HttpContentTooLargeException(java.lang.String message, int maxlen)
           
 
Method Summary
 int getMaxLength()
           
 
Methods inherited from class com.microsoft.tfs.core.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(java.lang.String message,
                                    int maxlen)
Method Detail

getMaxLength

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


© 2015 Microsoft. All rights reserved.