Top Description Fields Constructors Methods
org.apache.http

public Class MessageConstraintException

extends CharacterCodingException
Class Inheritance
Imports
java.nio.charset.CharacterCodingException

Signals a message constraint violation.
Since
4.3

Field Summary

Modifier and TypeField and Description
private final String
private static final long

Constructor Summary

AccessConstructor and Description
public
MessageConstraintException(final String
The exception detail message
message
)

Creates a TruncatedChunkException with the specified detail message.

Method Summary

Modifier and TypeMethod and Description
public String
getMessage()

Overrides java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Field Detail

messageback to summary
private final String message
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.nio.charset.CharacterCodingException.serialVersionUID.

Constructor Detail

MessageConstraintExceptionback to summary
public MessageConstraintException(final String message)

Creates a TruncatedChunkException with the specified detail message.

Parameters
message:String

The exception detail message

Method Detail

getMessageback to summary
public String getMessage()

Overrides java.lang.Throwable.getMessage.

Doc from java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Returns:String

the detail message string of this Throwable instance (which may be null).

Annotations
@Override