InvalidHeaderForContent

expect class InvalidHeaderForContent(name: String, content: String) : IllegalStateException, CopyableThrowable<BaseApplicationResponse.InvalidHeaderForContent>

OutgoingContent is trying to set some header that is not allowed for this content type. For example, only upgrade content can set Upgrade header.

actual class InvalidHeaderForContent(name: String, content: String) : IllegalStateException, CopyableThrowable<BaseApplicationResponse.InvalidHeaderForContent>

OutgoingContent is trying to set some header that is not allowed for this content type. For example, only upgrade content can set Upgrade header.

actual class InvalidHeaderForContent(name: String, content: String)

OutgoingContent is trying to set some header that is not allowed for this content type. For example, only upgrade content can set Upgrade header.

Constructors

Link copied to clipboard
expect fun InvalidHeaderForContent(name: String, content: String)
actual fun InvalidHeaderForContent(name: String, content: String)
actual fun InvalidHeaderForContent(name: String, content: String)

Functions

Link copied to clipboard
fun addSuppressed(p0: Throwable)
Link copied to clipboard
abstract fun createCopy(): BaseApplicationResponse.InvalidHeaderForContent?
open override fun createCopy(): BaseApplicationResponse.InvalidHeaderForContent
open fun createCopy(): BaseApplicationResponse.InvalidHeaderForContent
Link copied to clipboard
open fun fillInStackTrace(): Throwable
Link copied to clipboard
open fun getLocalizedMessage(): String
Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
Link copied to clipboard
open fun initCause(p0: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter)
Link copied to clipboard
open fun setStackTrace(p0: Array<StackTraceElement>)

Properties

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