class HttpFieldParseException
source · line 11public
public class HttpFieldParseException public constructor(
/**
* The HTTP field whose interpretation failed.
*/
public val field: String,
/**
* The zero-based byte offset in the field input.
*/
public val byteOffset: Long,
/**
* The parse or negotiation failure explanation.
*/
public val detail: String,
/**
* The underlying failure when available.
*/
public val cause: Throwable? = None
) : Exception(Some(field + " at byte " + byteOffset.toString() + ": " + detail))
- Supertype
Exception - Inherited
val message: Option<String>· Exception - Inherited
fun printStackTrace(): Unit· Throwable
A structured-field syntax or interpretation error, retaining the field name and zero-based source byte offset.
property cause
source · line 27public
public val cause: Throwable? = None
get: public read-only
The underlying failure when available.
property detail
source · line 23public
public val detail: String
get: public read-only
The parse or negotiation failure explanation.
property byteOffset
source · line 19public
public val byteOffset: Long
get: public read-only
The zero-based byte offset in the field input.
constructor constructor
source · line 11public
constructor(public val field: String, public val byteOffset: Long, public val detail: String, public val cause: Throwable? = None)
parameter field
source · line 15public
public val field: String
parameter byteOffset
source · line 19public
public val byteOffset: Long
parameter detail
source · line 23public
public val detail: String
parameter cause
source · line 27public
public val cause: Throwable? = None
property field
source · line 15public
public val field: String
get: public read-only
The HTTP field whose interpretation failed.