Package org.apache.hc.core5.http
Class LengthRequiredException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.hc.core5.http.HttpException
-
- org.apache.hc.core5.http.ProtocolException
-
- org.apache.hc.core5.http.LengthRequiredException
-
- All Implemented Interfaces:
java.io.Serializable
public class LengthRequiredException extends ProtocolException
Signals message rejection due to missing content length.- Since:
- 4.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description LengthRequiredException()
Creates an exception without a default detail message.LengthRequiredException(java.lang.String message)
Creates an exception with the specified detail message.
-
Method Summary
-
Methods inherited from class org.apache.hc.core5.http.HttpException
clean
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LengthRequiredException
public LengthRequiredException()
Creates an exception without a default detail message.
-
LengthRequiredException
public LengthRequiredException(java.lang.String message)
Creates an exception with the specified detail message.- Parameters:
message
- The exception detail message
-
-