IllegalHeaderNameException

class IllegalHeaderNameException(headerName: String, position: Int) : 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

Link copied to clipboard
fun IllegalHeaderNameException(headerName: String, position: Int)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val headerName: String

that was tried to use

Link copied to clipboard
open val message: String?
Link copied to clipboard
val position: Int

at which validation failed