diff servlet/src/digilib/io/DocuDirCache.java @ 187:b3f9a7f646c5

Servlet version 1.18b3 new Raster servlet - new Raster servlet for rastering SVG graphics into PNG - new SVGFile class and accompanying changes - fixes in DocuDirectory for better handling of other file classes
author robcast
date Fri, 28 Nov 2003 13:19:37 +0100
parents afe7ff98bb71
children bb4ed821d06e
line wrap: on
line diff
--- a/servlet/src/digilib/io/DocuDirCache.java	Tue Nov 25 19:26:46 2003 +0100
+++ b/servlet/src/digilib/io/DocuDirCache.java	Fri Nov 28 13:19:37 2003 +0100
@@ -149,10 +149,10 @@
 	}
 
 	/**
-	 * Returns the ImageFileset with the pathname <code>fn</code> and the
+	 * Returns the DocuDirent with the pathname <code>fn</code> and the
 	 * index <code>in</code> and the class <code>fc</code>.
 	 * 
-	 * If <code>fn</code> is a file then the corresponding Fileset is
+	 * If <code>fn</code> is a file then the corresponding DocuDirent is
 	 * returned and the index is ignored.
 	 * 
 	 * @param fn
@@ -214,7 +214,7 @@
 		if (dd.isValid()) {
 			try {
 				return dd.get(n, fc);
-			} catch (ArrayIndexOutOfBoundsException e) {
+			} catch (IndexOutOfBoundsException e) {
 			}
 		}
 		return null;