cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/linotype/java/org/apache/cocoon/components Repository.java
Date Fri, 06 Feb 2004 17:01:04 GMT
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;
       }
   
  
  
  

Mime
View raw message