Package org.apache.commons.httpclient
Class URI.DefaultCharsetChanged
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.commons.httpclient.URI.DefaultCharsetChanged
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- URI
public static class URI.DefaultCharsetChanged extends java.lang.RuntimeExceptionThe charset-changed normal operation to represent to be required to alert to user the fact the default charset is changed.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intDOCUMENT_CHARSETDocument charset changed.static intPROTOCOL_CHARSETProtocol charset changed.static intUNKNOWNNo specified reason code.
-
Constructor Summary
Constructors Constructor Description DefaultCharsetChanged(int reasonCode, java.lang.String reason)The constructor with a reason string and its code arguments.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetReason()Get the reason message.intgetReasonCode()Get the reason code.
-
-
-
Field Detail
-
UNKNOWN
public static final int UNKNOWN
No specified reason code.- See Also:
- Constant Field Values
-
PROTOCOL_CHARSET
public static final int PROTOCOL_CHARSET
Protocol charset changed.- See Also:
- Constant Field Values
-
DOCUMENT_CHARSET
public static final int DOCUMENT_CHARSET
Document charset changed.- See Also:
- Constant Field Values
-
-