HttpException

open fun HttpException(statusCode: Int)
open fun HttpException(message: String, statusCode: Int)
open fun HttpException(    message: String,     statusCode: Int,     cause: Throwable)


open fun HttpException(message: String)

Deprecated

You should always include a status code, default to UNKNOWN if you can't come up with a reasonable one. This method will be removed in a future version.