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
- Enclosing class:
- URI
- public static class URI.DefaultCharsetChanged
- extends java.lang.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
Constructor Summary |
URI.DefaultCharsetChanged(int reasonCode,
java.lang.String reason)
The constructor with a reason string and its code arguments. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
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,
java.lang.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 java.lang.String getReason()
- Get the reason message.
- Returns:
- the reason message
Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.