Top Description Fields Constructors
org.apache.hc.core5.http

public Class LengthRequiredException

extends ProtocolException
Class Inheritance

Signals message rejection due to missing content length.
Since
4.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
LengthRequiredException()

Creates an exception without a default detail message.

public
LengthRequiredException(final String
The exception detail message
message
)

Creates an exception with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.hc.core5.http.ProtocolException.serialVersionUID.

Constructor Detail

LengthRequiredExceptionback to summary
public LengthRequiredException()

Creates an exception without a default detail message.

LengthRequiredExceptionback to summary
public LengthRequiredException(final String message)

Creates an exception with the specified detail message.

Parameters
message:String

The exception detail message