org.apache.commons.httpclient
Class URI.DefaultCharsetChanged
RuntimeException
org.apache.commons.httpclient.URI.DefaultCharsetChanged
- URI
public static class URI.DefaultCharsetChanged
extends RuntimeException
The charset-changed normal operation to represent to be required to
alert to user the fact the default charset is changed.
DefaultCharsetChanged(int reasonCode, String reason) - The constructor with a reason string and its code arguments.
|
DOCUMENT_CHARSET
public static final int DOCUMENT_CHARSET
Document charset changed.
PROTOCOL_CHARSET
public static final int PROTOCOL_CHARSET
Protocol charset changed.
UNKNOWN
public static final int UNKNOWN
No specified reason code.
DefaultCharsetChanged
public DefaultCharsetChanged(int reasonCode,
String reason)
The constructor with a reason string and its code arguments.
reasonCode
- the reason codereason
- the reason
getReason
public String getReason()
Get the reason message.
getReasonCode
public int getReasonCode()
Get the reason code.
Copyright (c) 1999-2005 - Apache Software Foundation