- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 12 Jul 2005 13:22:34 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/util
In directory hutz:/tmp/cvs-serv2050
Modified Files:
InvalidHTTPAccesException.java
Log Message:
using UTF8 properties
Index: InvalidHTTPAccesException.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/util/InvalidHTTPAccesException.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- InvalidHTTPAccesException.java 8 Apr 2002 21:19:15 -0000 1.2
+++ InvalidHTTPAccesException.java 12 Jul 2005 13:22:32 -0000 1.3
@@ -14,7 +14,6 @@
package org.w3c.css.util;
-import java.util.Properties;
/**
* InvalidAccesException is a runtime exception throwed when an acces is
@@ -35,13 +34,13 @@
String message;
// additional informations
- Properties informations;
+ Utf8Properties informations;
/**
* Creates a new InvalidHTTPAccesException
*/
- public InvalidHTTPAccesException(int status, String uri,
- String message, Properties informations) {
+ public InvalidHTTPAccesException(int status, String uri, String message,
+ Utf8Properties informations) {
super(message);
this.status = status;
this.uri = uri;
@@ -52,14 +51,12 @@
/**
* Creates a new InvalidHTTPAccesException
*/
- public InvalidHTTPAccesException(int status, String uri,
- String message) {
+ public InvalidHTTPAccesException(int status, String uri, String message) {
this(status, uri, message, null);
}
/**
- * Returns the HTTP reason of the failure
- * NOT_FOUND, UNAUTHORIZED, ...
+ * Returns the HTTP reason of the failure NOT_FOUND, UNAUTHORIZED, ...
*/
public int getHTTPReason() {
return status;
@@ -73,20 +70,20 @@
}
/**
- * Get the error message
- * The message can come from the server or from the application.
+ * Get the error message The message can come from the server or from the
+ * application.
*/
public String getMessage() {
return message;
}
/**
- * Returns some additionals HTTP information.
- * These informations are useful if you want to reply to the client
- * For example, if the HTTP reason is UNAUTHORIZED, it will contain
- * the header WWW-Authenticate and Authentication-Info.
+ * Returns some additionals HTTP information. These informations are useful
+ * if you want to reply to the client For example, if the HTTP reason is
+ * UNAUTHORIZED, it will contain the header WWW-Authenticate and
+ * Authentication-Info.
*/
- public Properties getInformations() {
+ public Utf8Properties getInformations() {
return informations;
}
}
Received on Tuesday, 12 July 2005 13:22:37 UTC