IllegalHeaderNameException

class IllegalHeaderNameException : IllegalArgumentException

Thrown when an illegal header name was used. A header name should only consist from visible characters without delimiters “double quote” and the following characters: (),/:;<=>?@[\]{}.

Constructors

<init>

IllegalHeaderNameException(headerName: String, position: Int)

Thrown when an illegal header name was used. A header name should only consist from visible characters without delimiters “double quote” and the following characters: (),/:;<=>?@[\]{}.

Properties

headerName

val headerName: String

that was tried to use

position

val position: Int

at which validation failed