public static class URI.DefaultCharsetChanged extends RuntimeException
Modifier and Type | Field and Description |
---|---|
static int |
DOCUMENT_CHARSET
Document charset changed.
|
static int |
PROTOCOL_CHARSET
Protocol charset changed.
|
static int |
UNKNOWN
No specified reason code.
|
Constructor and Description |
---|
DefaultCharsetChanged(int reasonCode,
String reason)
The constructor with a reason string and its code arguments.
|
Modifier and Type | Method and Description |
---|---|
String |
getReason()
Get the reason message.
|
int |
getReasonCode()
Get the reason code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int UNKNOWN
public static final int PROTOCOL_CHARSET
public static final int DOCUMENT_CHARSET
public DefaultCharsetChanged(int reasonCode, String reason)
reasonCode
- the reason codereason
- the reasonpublic int getReasonCode()
public String getReason()
Copyright © 2019. All Rights Reserved.