org.apache.http
Class TruncatedChunkException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.http.MalformedChunkCodingException
                  extended by org.apache.http.TruncatedChunkException
All Implemented Interfaces:
Serializable

public class TruncatedChunkException
extends MalformedChunkCodingException

Signals a truncated chunk in a chunked stream.

Since:
4.1
See Also:
Serialized Form

Constructor Summary
TruncatedChunkException(String message)
          Creates a TruncatedChunkException with the specified detail message.
TruncatedChunkException(String format, Object... args)
          Constructs a new TruncatedChunkException with the specified detail message.
 
Method Summary
 
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TruncatedChunkException

public TruncatedChunkException(String message)
Creates a TruncatedChunkException with the specified detail message.

Parameters:
message - The exception detail message

TruncatedChunkException

public TruncatedChunkException(String format,
                               Object... args)
Constructs a new TruncatedChunkException with the specified detail message.

Parameters:
format - The exception detail message format; see String.format(String, Object...).
args - The exception detail message arguments; see String.format(String, Object...).
Since:
4.4.11


Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.