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:
- Serializable
- Enclosing class:
- 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.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UNKNOWN
public static final int UNKNOWN
- No specified reason code.
PROTOCOL_CHARSET
public static final int PROTOCOL_CHARSET
- Protocol charset changed.
DOCUMENT_CHARSET
public static final int DOCUMENT_CHARSET
- Document charset changed.
URI.DefaultCharsetChanged
public URI.DefaultCharsetChanged(int reasonCode,
String reason)
- The constructor with a reason string and its code arguments.
- Parameters:
reasonCode
- the reason codereason
- the reason
getReasonCode
public int getReasonCode()
- Get the reason code.
- Returns:
- the reason code
getReason
public String getReason()
- Get the reason message.
- Returns:
- the reason message
Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.