You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by sy...@apache.org on 2004/02/06 18:01:04 UTC
cvs commit: cocoon-2.1/src/blocks/linotype/java/org/apache/cocoon/components Repository.java
sylvain 2004/02/06 09:01:04
Modified: src/blocks/linotype/java/org/apache/cocoon/components
Repository.java
Log:
Better error reporting
Revision Changes Path
1.3 +1 -1 cocoon-2.1/src/blocks/linotype/java/org/apache/cocoon/components/Repository.java
Index: Repository.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/linotype/java/org/apache/cocoon/components/Repository.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Repository.java 7 Aug 2003 22:11:03 -0000 1.2
+++ Repository.java 6 Feb 2004 17:01:04 -0000 1.3
@@ -85,7 +85,7 @@
private static File getDir(String dirName) {
File dir = new File(dirName);
- if (!dir.isDirectory()) throw new RuntimeException("'dir' is not a directory!");
+ if (!dir.isDirectory()) throw new RuntimeException("'"+ dirName + "' is not a directory!");
return dir;
}