public static class URI.DefaultCharsetChanged extends RuntimeException
| Modifier and Type | Field and Description | 
|---|---|
| static int | DOCUMENT_CHARSETDocument charset changed. | 
| static int | PROTOCOL_CHARSETProtocol charset changed. | 
| static int | UNKNOWNNo 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, toStringpublic 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.