Replaced the "Restarts" class with individual restart classes.
[jsvc.git] / src / dolda / jsvc / util / Cache.java
index 0021336..371699f 100644 (file)
@@ -15,7 +15,7 @@ public class Cache {
            try {
                cldate = Http.parsedate(ims);
            } catch(java.text.ParseException e) {
-               throw(Restarts.stdresponse(400, "The If-Modified-Since header is not parseable."));
+               throw(new ClientError("The If-Modified-Since header is not parseable."));
            }
            if(mdate.compareTo(cldate) <= 0) {
                throw(new RequestRestart() {